Skip to content
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

Enhancement: expose other methods to XML map #44

Closed
bradmartin opened this issue Oct 21, 2016 · 5 comments
Closed

Enhancement: expose other methods to XML map #44

bradmartin opened this issue Oct 21, 2016 · 5 comments
Assignees
Milestone

Comments

@bradmartin
Copy link
Contributor

bradmartin commented Oct 21, 2016

Several much needed methods on the XML declared maps:

  • removeMarkers
  • setCenter
  • setZoomLevel
  • addPolyline

All of them would be great of course but these would seem to cover a lot of use cases for having dynamic capabilites of the map once its rendered for navigational purposes.

@giovannicandido
Copy link

I'm trying to come up with the use case:

If I use the programatic API I have full control, but the map overlap's everything. I need the map to stay in the GridLayout, so I can use floating action buttons and navigation drawer.

The only way to do that, at least as I could come with, is to use the XML Map.

But XML need to have the full API in order to be useful in my case.

@EddyVerbruggen
Copy link
Collaborator

Yes @giovannicandido that's indeed what this issue is for.

@EddyVerbruggen
Copy link
Collaborator

Now available are: setViewport, addMarkers, removeMarkers, setCenter, setZoomLevel, setViewport, setTilt, animateCamera, addPolygon and addPolyline.

Note that as before addPolygon and addPolyline don't work yet on iOS but those are still on my radar.

Part of 2.1.1 which I'll publish soon.

@EddyVerbruggen EddyVerbruggen added this to the 2.1.1 milestone Oct 25, 2016
@bradmartin
Copy link
Contributor Author

Works GREAT. Thanks @EddyVerbruggen

@EddyVerbruggen
Copy link
Collaborator

Cool, thanks for the quick test! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants