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

How do I turn off detecting user's location? #262

Closed ajbraus closed 10 years ago

ajbraus commented 12 years ago

I set validate => false and for resources with no map location, the gem is detecting user's locations and displaying them. Is there a way to turn this off?

Thanks

apneadiving commented 12 years ago

I don't understand the question. Please add example.

Sent from my iPhone

On 6 sept. 2012, at 04:21, Adam Braus notifications@github.com wrote:

I set validate => false and for resources with no map location, the gem is detecting user's locations and displaying them. Is there a way to turn this off?

Thanks

— Reply to this email directly or view it on GitHub.

ajbraus commented 12 years ago

I am using chrome and if I go to an event that has no location set for it, a bar comes down from the top of the browser that says "#######.com is trying to record your current location. Allow / Deny." If I allow the map displays my current location, if I deny it doesn't.

It wasn't doing this before I started using the gem, so I am assuming that gmaps4rails is causing it. Is there a way to make it not be recording the users' location?

apneadiving commented 12 years ago

Look at the soure code:

I still can't understan your issue then. What's your code?

Sent from my iPhone

On 7 sept. 2012, at 20:45, Adam Braus notifications@github.com wrote:

I am using chrome and if I go to an event that has no location set for it, a bar comes down from the top of the browser that says "#######.com is trying to record your current location. Allow / Deny." If I allow the map displays my current location, if I deny it doesn't.

It wasn't doing this before I started using the gem, so I am assuming that gmaps4rails is causing it. Is there a way to make it not be recording the users' location?

— Reply to this email directly or view it on GitHub.