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

xmarket’s picture

Status: Active » Fixed

Disable the "Automatic center and zoom" method.

srobert72’s picture

Version: 6.x-2.0-beta2 » 6.x-2.x-dev
Category: support » bug
Status: Fixed » Active

In 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.

xmarket’s picture

Title: How to have a map not centered on markers » How to have a static map not centered on markers

Enable the "Fix viewport" option for the static map preset on the "Map settings" panel.

srobert72’s picture

That's what I've already done but it doesn't work.
Map is still centered on marker's node.

srobert72’s picture

I've checked again #1 : Disable the "Automatic center and zoom" method.
"Methods" accordion doesn't exist in Static Maps.