Google-Maps-for-Craft
Google-Maps-for-Craft copied to clipboard
Setting up a simple one marker map but with zoom setting
Hey there! I just found this plugin, and so far it seems awesome. However, I'm having a bit of trouble with something. I'm trying to add in a simple marker map but I can't figure out to get it to zoom out. Here is my code. Is this a bug or am I using it incorrectly?
Also, is there a way I can grab the elements inside the map and style them? Say like changing the color of what is in "content:"
Thanks!
Sorry for the delay on this. Been super busy the past week working on some project and didn't this see
this request until now. The zoom is set asynchronously by default. So you need to prevent that from occurring in order to set your own zoom.. See the fitBounds property. Set it to true either use the marker method or with data method using the field type data.
https://github.com/objectivehtml/Google-Maps-for-Craft/wiki/Template-Reference#marker
Let me know if this helps