How can I configure the maps for not being centered on the markers but rather than the centered with the default value defined in the preset?
How can I configure the maps for not being centered on the markers but rather than the centered with the default value defined in the preset?
Comments
Comment #1
xmarket commentedDisable the "Automatic center and zoom" method.
Comment #2
srobert72 commentedIn a static map preset I have set :
* default center coordinates
* default center bounds
* default zoom to 8
I use it in views for only 1 node with :
Style: GMaps Static Map
Row style: Static map node marker
Google map static picture appears correctly with node marker, but it is always centered on node marker and not on my default center.
Comment #3
xmarket commentedEnable the "Fix viewport" option for the static map preset on the "Map settings" panel.
Comment #4
srobert72 commentedThat's what I've already done but it doesn't work.
Map is still centered on marker's node.
Comment #5
srobert72 commentedI've checked again #1 : Disable the "Automatic center and zoom" method.
"Methods" accordion doesn't exist in Static Maps.