apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Cool to add: Show user location on map as blue dot #225

Closed Jeewes closed 10 years ago

Jeewes commented 12 years ago

Google maps has a user location feature which shows users current location as a blue dot on the map. That dot also has a light blue radius which represents (propably) the error marginal.

Gmaps4rails can already detect user location, but it would be super nice if it could also draw blue dot (or similar) icon in that location.

This issue is already discussed in stackoverflow: http://stackoverflow.com/questions/8405048/how-do-i-display-the-users-location-with-a-marker-in-gmaps4rails

apneadiving commented 12 years ago

could be cool, could you send me a link to the doc of the related js api?

On Tue, Jul 3, 2012 at 2:16 PM, Jeewes < reply@reply.github.com

wrote:

Google maps has a user location feature which shows users current location as a blue dot on the map. That dot also has a light blue radius which represents (propably) the error marginal.

Gmaps4rails can already detect user location, but it would be super nice if it could also draw blue dot (or similar) icon in that location.

This issue is already discussed in stackoverflow: http://stackoverflow.com/questions/8405048/how-do-i-display-the-users-location-with-a-marker-in-gmaps4rails


Reply to this email directly or view it on GitHub: https://github.com/apneadiving/Google-Maps-for-Rails/issues/225

Jeewes commented 12 years ago

Ok, it looks like "blue dot" -feature is not supported in Google Maps API v.3 in this moment.

Maybe it could be build as a custom work though. Would that be a good solution - I don't know, but in this moment I think people are building their own solutions to show the users current location. Therefore somekind of "show user location" -feature in gmaps4rails would be handy.

One solution from stackoverflow: http://stackoverflow.com/questions/9142833/show-my-location-on-google-maps-api-v3

tknazn commented 12 years ago

It would be cool to have sth like this http://jsfiddle.net/MftVp/