blake, (edited )

today I wrote the beginnings of a #Flutter based maps app I'm calling Squirrel Maps (it or a fork might become Dahlia Maps at some point, we'll see).

The code, for now at least, is here: https://source.blakes.dev/me/squirrelmaps

I'm encountering an odd issue where if I zoom in too far (or is it too quickly?) it just refuses to render the map anymore -- won't even zoom out.

#OpenStreetMap

blake,

Here's it looking at an area in Raleigh, NC. I made a custom style meant to go along with satellite imagery. I might try to bundle the two into one "virtual layer" once I set up the layer chooser (probably the next thing). After that I'll start with POI markers.

Today's big issue is that house numbers don't show up, despite them showing up just fine in the Maputnik style editor and before I made the custom style.

I think when I get back to this I'm going to try to fix the bridge colors, too.

blake,

Here is what I have for the layer chooser. I finished this and spent a good chunk of the day debating how to get POIs onto the map. Soon.

#SquirrelMaps

blake,

I have an Overpass QL query written up that gets these, at least. The dot above "Jack Smith Park" is for the park itself.

I might refine the query to, say, hide things in parks at the higher levels, or shops that are too close to each other to see. Then again, it might be easier to do that in the app. We'll see.

blake,

The bottom sheet does not go away yet. Also I probably have to make my own MarkerLayer so that the markers get spaced out a little more, and I also have to set the different zoom levels up too.

Curly_Wyer,

@blake

You might be falling foul of mismatched zoom limits. It sounds similar to this bug https://github.com/fleaflet/flutter_map/issues/1566

blake,

@Curly_Wyer I suppose zoom 18 is enough. The error appears to happen less with that, although the vector layer gives up while spamming "CancellationError" instead...

cachapa,

@blake ran into similar issues with http://libra-app.eu because if hitting the limits on number precision.

Ended up using doubles for everything and having checks everywhere to prevent going over double.max or under the minimum zoom (a couple of days in the case of Libra).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Flutter
  • DreamBathrooms
  • ngwrru68w68
  • cubers
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • tester
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • anitta
  • Leos
  • provamag3
  • modclub
  • megavids
  • lostlight
  • All magazines