Jump to content

BUG: No zoom!


Christopher Ambler

Recommended Posts

It looks like the value of the menu parameter "zoom" is never used in the geomaps module.

 

As such, if you set the custom center and zoom option (mode 2) and provide lat/lon, the map will never center on that lat/lon if there is no radius.

 

That is, if you specify a radius, the map will center on the lat/lon by virtue of the markers coming up within the radius around that lat/lon. This is the map making its best guess (which is usually pretty good).

 

But if you want a map that has ALL DATA POINTS worldwide, but still centers on a specific lat/lon with a specific zoom level, you can't do that, as zoom is never used. It's never consumed in module_geomaps_controller.php and therefore not passed to the map.

Link to comment
  • 1 year later...
×
×
  • Create New...