Ian
Ian
Thinking out loud about this a bit more, I'm wondering if we should have a kind of "reset()" method... eg Eg a soft reset _pixelBounds = getPixelBounds(zoom); _bounds = _calculateBounds();...
A project/unproject shouldn't take into account rotation. However, in your case, sure you aren't looking for pointToLatLng which does into account rotation ?
I'd step back a bit and describe what you are trying to achieve and a minimal example. Not all methods should account for rotation, so it's hard to figure if...
Yes, I think some of those may make sense for the bounds ones (or at least make sense to have an option there...it may depend if other code is making...
What may be useful is to create a minimal typical example that would use these methods, that we can test against, to make sure it works (and any future changes).
And what about mapControllers pointToLatLng, does that not work ? As mentioned, a minimal example would be useful.
Ok sure, I think that maybe makes more sense then. Some of the methods available there should also probably be exposed to MapState (and there's a few exposed that maybe...
Just out of interest, I've done a PR https://github.com/fleaflet/flutter_map/pull/1325 to add latLngToScreenPoint. However, at the same time I've enabled pointToLatLng to be accesed via state as well as mapController (which...
There are some elements, like bounds related ones I suspect are an issue, but there's a separate issue for that, so it could be worth closing this, and tracking the...
Is every square a polygon, or am I misreading image a bit ? I'm also guessing they all have opacity on there, and how many are there in total ?...