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

Get Coordinates of Absolute Positioned Object on Map #1610

Closed
thomasbaldwin opened this issue Sep 1, 2017 · 5 comments
Closed

Get Coordinates of Absolute Positioned Object on Map #1610

thomasbaldwin opened this issue Sep 1, 2017 · 5 comments

Comments

@thomasbaldwin
Copy link

I've made a marker that I place position absolute on the map. This way, I can move the map around and the marker stays in place. I'm trying to make it so users set a location, kind of like Uber. However, the problem I'm facing is I'm not sure how to then get the coordinates of where the marker was positioned. Here is what the screen currently looks like with the absolute positioned marker:

giphy

I can attach a code sample if necessary

@juergengunz
Copy link

you could position the marker in the center of the map and use onRegionChange to get the map's center coordinate

@ejkkan
Copy link

ejkkan commented Oct 6, 2017

@thomasbaldwin Would you mind sharing an code example of how you solved this? absolute position + retrieving cordinates

@alvelig
Copy link
Contributor

alvelig commented Dec 9, 2017

Read onRegionChangeComplete event docs.

@alvelig alvelig closed this as completed Dec 9, 2017
@AFMW
Copy link

AFMW commented Feb 27, 2018

Please share the Code @thomasbaldwin

1 similar comment
@pmella16
Copy link

Please share the Code @thomasbaldwin

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

No branches or pull requests

6 participants