>Hello,
>
>I would like to ask about usage of 'xmapzoom' field of struct _VikMapsLayer in 
>specific context.
>vikmapslayer.c/maps_layer_draw_section() function is calculating xzoom/yzoom 
>variables like this (line ~1288):
>
>    xzoom = vml->xmapzoom;
>    yzoom = vml->xmapzoom;
>
>which is a bit strange because other places don't use vml->xmapzoom for 
>calculating both x and y parameters. Is it correct to use >vml->xmapzoom in 
>both lines?
>
>Best regards,
>Kamil

Yes. It is wrong, clearly it should be using vml->ymapzoom.

This error has been there since 2007; which I think goes to show that no one 
uses maps (as tiles) that have differing x & y zooms.

Differing x & y are more likely for singular image maps as used in the GeoRef 
layer.

Once again, thanks for reporting this issue.

_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to