[Marble-devel] Setting maximum zoom value

Jon R Flowers Jon.Flowers at pgs.com
Thu Nov 17 10:46:42 UTC 2011


Hope this is the correct list. First off, thanks for the wonderful widget you guy make. This has save my project a tremendous amount of time and work.

I am working an on an application that requires basic mapping features, which marble widget more than supplies, but I just upgraded to version 0.12 of the library and found you fixed a 'bug' that I was taking full advantage of and need in my app. I need to zoom in to a closer detail than what is currently set as the maximumZoom() level. This is required for items that I am painting over the map, not looking for detail level on the map. This is because all the items I am drawing are over the oceans of the world and I need rough coast lines at a normal zoom level. But for fine checking of my 'lines' on the map I need to be able to zoom to see them. Real world distances between these parallel lines will be as close as 25 meters, though usually more like 100 meters. Those lines will not be shown all the time only on problem fixing, the main lines being show will be various distances apart, 100 - 2400 meters, depending on configuration of that particular project.

I have found that modifying the dgml file can accomplish this, I think it's the wrong way to go about this. Is there a way to override the maximumZoom() in code? So that I don't have to maintain my own set of data for app. This app will be very limited in user base as it is very specific in its use.

Thanks for any and all help.

Jon Flowers


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20111117/89db3c89/attachment.html>


More information about the Marble-devel mailing list