Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Latitude and Longitude

$
0
0
I've tried to use both
 Map0.Projection = tkMapProjection.PROJECTION_GOOGLE_MERCATOR
 Map0.PixelToDegrees x, y, Xx, Yy
that
Map0.Projection = tkMapProjection.PROJECTION_WGS84
Map0.PixelToDegrees x, y, Xx, Yy
but in any case I did not get the values

Lat: 41.890
Lon: 12.492.

However, using the functions
Map0.Latitude
Map0.Longitude
I can get the exact coordinates of the center of the map without resorting to any kind of conversion.

What drives me crazy is that if the default map display latitude and longitude in the upper right corner as information, they must be inevitably already available without having to convert the pixels more ....

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>