-
-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor documentation updates #1377
Conversation
This feature has been removed from `vector_map_tiles` as it lacked obvious performance benefits. For more information, see: * greensopinion/flutter-vector-map-tiles#31 * greensopinion/flutter-vector-map-tiles#52
Hi @danbits. Number 1 seems a bit odd to me, can you show some of your code please? And you are correct about number 2, thanks for pointing that out. |
He's right the parameter name has been changed: flutter_map/lib/flutter_map.dart Line 64 in 9e7bf7c
|
Ah. I'm not sure this is supposed to be like this? I can't remember it being that way in the v3 release? If it wasn't, that needs reverting I think. |
Hey, thanks for the quick responses! I'm assuming that @TesteurManiak's explanation is sufficient, so let me know if you still want to see any code! |
Well, the thing is that apparently the name |
Does it really matter, if it was part of a breaking change already ? I.e I would guess most of the old examples out in the wild are already incorrect with other changes anyway (eg layer changes to children), so it feels like simplest would just be to go with it and update the docs to match, or am I missing something (quite likely!) ? |
My main concern is that changing it back to |
Just checking, are we talking about the same thing here...hasn't it actually been mapController since the dawn of time...? Where has it ever been controller ? |
Ah, maybe there's a bit of confusion with MapOptions vs FlutterMap mapController (not surprising if so!) |
You're right, I'm the one who inverted |
So yeah, I guess it can be merged (sorry again for my mistake it has been a long day 😅 ) |
Hah no worries, this gets most of us at some point, and one of the reasons we've tried to simplify stuff :D. Cue someone out there getting confused about bounds next :D |
Ok, so if we're happy with this, I'll make the changes manually ASAP, as it's just a small changeset. Haven't been following closely (been busy), so please just confirm that's the case :) |
Fine with me |
Great. Will add those changes ASAP. Thanks for the heads up! |
@@ -4,7 +4,7 @@ | |||
|
|||
```dart | |||
FlutterMap( | |||
controller: MapController(), | |||
mapController: MapController(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JaffaKetchup Should this line be included as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Sorry, missed this one!
When setting up
flutter_map
with thevector_map_tiles
plugin, I noticed a couple of things to update in the docs.flutter_map
usage example uses a named argumentcontroller
. I needed to update the argument tomapController
in order to get the example working.vector_map_tiles
, which has been removed. It looks like the paragraph was removed in update vector_map_tiles docs #1361, but that change did not make its way into 1dfdc38. Sorry to bring this up again if that was the intention.Thank you for all of the work on this package. It's been a joy to use!