In /admin/config/services/gmap I had ticked the "autozoom" box under "Map behaviour flags" because I want the map to automatically zoom to show all markers. However, even with that option ticked, the default map displaying was always the one set in the default centre coordinates and zoom levels. I tried to fix this by deleting the coordinates from the "default center" field, thinking then that the autozoom would take precedence, but no map showed at all. I then manually re-entered the default coordinates from Google Maps, but even when I paste in both latitude and longitude, only latitude shows up - I paste in 51.5287352,-0.3817848 and this then changes to 51.52873520000001,NaN - and the map still isn't displaying. I've tried flushing all caches to no effect and because no map is displaying I can't drag it back to the default centre. How can I get my map back??

Comments

thoughtcat created an issue. See original summary.

thoughtcat’s picture

Sorry, I have the main Gmap module installed as well and suspect this problem isn't related to the Simple Google Maps module, but for the record I disabled the latter in case there was a conflict and it hasn't made any difference in itself.

jhodgdon’s picture

Status: Active » Closed (cannot reproduce)

Hm, I am a bit confused about what you did here, and whether Simple Google Maps is even involved. The Simple GMaps map only has one marker. It is Gmap that would display multiple markers on the same map. Also there is no "autozoom" setting in Simple GMap, or Default Center. So, I think this is a GMap bug.