Topic on Help talk:Extension:Kartographer

Is there an option to automatically scale the map to the area with the shapes shown?

4
John Cummings (talkcontribs)
TheDJ (talkcontribs)

By default, it will try to zoom to make all the shapes fit into the viewport. But it is important to NOT specify a zoom factor in order for that to work and no centerpoint either. If your shapes span the entire earth as in your example, then zooming of course also will not work. In fullscreen mode, the zooming seems to assume a square viewport causing parts of the shapes, to sometimes spill out at the top or bottom (someone should probably file a ticket for that). And lastly, if you are in preview mode it also seems to work a bit different (not exactly sure why that is)

RobinLeicester (talkcontribs)

Note that TheDJ's descriptions relate to using the maplink template, rather than using a direct call to <mapframe>, with all in geoJSON. Template:maplink is easier to edit, will do the zooming etc for you , and I think will handle the multiple id entries in the way you need.

TheDJ (talkcontribs)

No I'm not

Reply to "Is there an option to automatically scale the map to the area with the shapes shown?"