Locus Map - forum

Support => Troubles & Questions => Topic started by: balloni55 on December 27, 2015, 19:26:34

Title: Zoom level map/zoomlevel overlay
Post by: balloni55 on December 27, 2015, 19:26:34
Hi menion
currently possible zoom levels depend on (basis) map, e.g. Lo map up to ZL22, if i use a overlay with max e.g. ZL17 both displayed maps differ from ZL18  :-[
I think it would be better, locus stop possibility to zoom if ZL isn´t available in overlay.
https://www.dropbox.com/s/xt44ig7l8jwc5hj/ZL_Overlay.mp4?dl=0
Title: Re: Zoom level map/zoomlevel overlay
Post by: SaschaVIE on December 27, 2015, 21:14:02
No. If it does, i can never read the small print.
Title: Re: Zoom level map/zoomlevel overlay
Post by: Menion on December 28, 2015, 06:24:49
Good day balloni,

quite interesting. What may are you using as an overlay? Because it looks like same problem reported here by gynta: http://help.locusmap.eu/topic/gemf-as-overlay-problem . Overlay map should rescale together with base map which should be correct behavior. Limiting scaling just to layers of overlay is not good solution.
Title: Re: Zoom level map/zoomlevel overlay
Post by: balloni55 on December 28, 2015, 08:47:15
Hi menion
i use a sqlitedb built with mapc2mapc, source is a .jp2 image
Attached you find a example with only ZL12, on all other zoomlevels scale doesn´t fit
Title: Re: Zoom level map/zoomlevel overlay
Post by: Menion on December 28, 2015, 09:56:14
Thank you for a file.

I'm testing it and map is defined for level 12. In zoom level 11 it is still working correctly, but when you zoom your base map to zoom 10, it won't work correctly. On opposite side, till level 18 it works correctly, since 19 it don't right?

Precise answer is then in gyntas post on help desk. Issue will be fixed in next version, thank you.
Title: Re: Zoom level map/zoomlevel overlay
Post by: balloni55 on December 28, 2015, 13:35:42
unfortunately not :-[
for me on VM and my device only ZL12 is ok, on all other ZL scale didn´t fit
https://www.dropbox.com/s/0t2bb6lzhlbi0bo/ZL%2012.mp4?dl=0
Title: Re: Zoom level map/zoomlevel overlay
Post by: gynta on January 05, 2016, 17:02:08
Quote from: menion on December 28, 2015, 09:56:14Issue will be fixed in next version
Quote from: balloni55 on December 28, 2015, 13:35:42unfortunately not :-[
there was no new version. try again  ;)
Title: Re: Zoom level map/zoomlevel overlay
Post by: balloni55 on January 05, 2016, 19:09:46
thanks gynta, i was too impatient, now it work :)
Title: Re: Zoom level map/zoomlevel overlay
Post by: gynta on February 12, 2016, 00:00:41
today i found similar problem with "blank" maps

http://help.locusmap.eu/topic/gemf-as-overlay-problem
Title: Re: Zoom level map/zoomlevel overlay
Post by: Menion on February 12, 2016, 12:20:34
Problem that GEMF map used as overlay (with limited zoom range) is incorrectly visible on blank base map?
Title: Re: Zoom level map/zoomlevel overlay
Post by: gynta on February 12, 2016, 12:54:43
sorry for incomplete report
blank as basic - with any(!) map without all zoom levels - as overlay, has this problem.
eg.: blank map have zoom 0 - 22 and overlay has 9-16, so you have problems with all items (tracks, pois) on map
Title: Re: Zoom level map/zoomlevel overlay
Post by: Menion on February 13, 2016, 18:37:58
I'm sorry, but I'm unable to simulate it. I've set "white blank map" as base and downloaded SHOCart map as overlay (zoom 11 - 15) and even when I zoom to for example 8|100 %, or to 22|400%, points seems to move correctly. At 22|100% SHOCart maps dissapear, which is correct (at 21|100% is already scaled to max 15|6400%).
Title: Re: Zoom level map/zoomlevel overlay
Post by: gynta on February 13, 2016, 21:24:47
After your reply, I even searched for this.

# Allow to continue in zoom, when no other layers are available (default: 1)
map_automatic_zoom_lock=0

is the troublemaker...
Title: Re: Zoom level map/zoomlevel overlay
Post by: balloni55 on April 04, 2016, 14:27:20
hello menion
with Mobac i´ve created a sqlite ZL14-16 conture line from a lake for use as overlay.
If i zoom out of this range the overlay doesn´t fit :-[
https://www.dropbox.com/s/fbji7645y46nfac/Overlay.mp4?dl=0
sqlite attached
Title: Re: Zoom level map/zoomlevel overlay
Post by: Menion on April 06, 2016, 09:34:07
Thanks balloni.

Seems you have "map_automatic_zoom_lock" in config file set to "false". This case that overlay map cannot re-scale to fit base map. I think best should be, if overlay maps ignore this settings, what you think? Parametr is useful mainly to keep 100% scale at base map and no rescaling on edges, here it is no important (in case of overlay). Consider it as "improved".
Title: Re: Zoom level map/zoomlevel overlay
Post by: balloni55 on April 06, 2016, 10:23:49
you are absolutely right ;)
thanks for improvement :)

EDIT: fixed with 3.16.2 :)