Increase the map scale

Increase the map scale

Postby Natter » Mon Sep 27, 2021 6:36 pm

Hi,

In my own task, I work with a map. I am increasing the size of the map container (for example, by 30%) and I want to increase the map scale by the same 30%, respectively. How can this be done ?
Natter
 
Posts: 1137
Joined: Mon May 14, 2007 9:49 am

Re: Increase the map scale

Postby James Bott » Mon Sep 27, 2021 10:25 pm

Natter,

I don't think you have given enough information for anyone to be able to help.

Is the map an image you already have or an online map such as Google Maps?

Is the scale a separate image from the map, or something you are drawing on the map image?
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Increase the map scale

Postby Natter » Tue Sep 28, 2021 8:38 am

The card can be any. This is not a matter of principle. For example, the current map scale is 1x100000. When you scroll the mouse wheel, the map scale increases (according to the set step zoodelta: ) and becomes, for example, 1x10000. I asked about how you can calculate the number of iterations of zooming in on the map in order to get an increase in this scale by 30% ?
Natter
 
Posts: 1137
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests

cron