astridx / pkg_agosms

Joomla Module not only for showing Markers on a OpenStreetMap Map.
https://www.astrid-guenther.de
GNU General Public License v3.0
10 stars 2 forks source link

Zoomlevel in "Kartenkonfiguration" of module not working #67

Closed TheSoulrester closed 3 years ago

TheSoulrester commented 3 years ago

The "Zoomlevel" setting is not working as expected. only zoomlevel 19 works.

following things are enabled: zoomlevel 12 stil: openstreetmap scale: metric

pins of component "com_agosms", categorie "all groups" (in which all necessary markers are) geojson enabled (file.geojson)

other informations needed? please ask

TheSoulrester commented 3 years ago

if i am disabling pins of components, the zoomlevel settings works.

so there might be a problem with "pins of components"?

astridx commented 3 years ago

The Zoomlevel setting can be overridden by other functions - such as grouping or routing. Could it be that the pins/markers are so far away from each other that the grouping function changes the zoom to show them together?

(I will include a note in the description of the zoomlevel-setting.)

astridx commented 3 years ago

I added a hint to the description, that the zoom level is overwritten from some other function in https://github.com/astridx/pkg_agosms/releases/tag/v1.0.90 zoomlevelhint .

astridx commented 3 years ago

So for you it was the settings, that is, that some settings revoke others? I have no idea how to handle it better. There are already so many parameters, it confuses many people.

TheSoulrester commented 3 years ago

I dont really know if it was some setting that revoke the zoomlevel setting, but your explanation sounded promising.

because when i deactivated the components pins and added the pins as single pins in the module, the zoomlevel took effect.

astridx commented 3 years ago

OK. Thanks. Then I close this issue, OK?

astridx commented 3 years ago

Yes, as already written. I don't fully understand the display problem yet. The alternative would be to hide the map and only make it possible to enter the coordinates via a text field. But I don't want that. That's why I live with the error. With a reload, the tiles are then displayed.