added separate 'zoomLevels' JS config var for marker positioning use (closes #401)
This commit is contained in:
@@ -75,6 +75,12 @@ var overviewerConfig = {
|
||||
* This controls how close you can zoom in.
|
||||
*/
|
||||
'maxZoom': {maxzoom},
|
||||
/**
|
||||
* This tells us how many total zoom levels Overviewer rendered.
|
||||
* DO NOT change this, even if you change minZoom and maxZoom, because
|
||||
* it's used for marker position calculations and map resizing.
|
||||
*/
|
||||
'zoomLevels': {zoomlevels},
|
||||
/**
|
||||
* Center on this point, in world coordinates. Should be an array, ex:
|
||||
* [0,0,0]
|
||||
|
||||
Reference in New Issue
Block a user