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

New Post: drawCircleEx problems

$
0
0
Hi,
I have a problem with drawCircleEx method.
I need to draw a circle on a map centered at a user-defined point and with a fixed radius of 100km.
The geoprojection of the map is google mercator. When I draw the circle it has a radius (at the latitude of Italy) of about 73.8 km.

...
m_MapProj = New GeoProjection
m_MapProj.SetGoogleMercator()
...
AxMap1.GeoProjection = m_MapProj
...
Dim raggio As Double = 100000.0
...
m_drawlay_hndl = AxMap1.NewDrawing(tkDrawReferenceList.dlSpatiallyReferencedList)
...
AxMap1.DrawCircleEx(m_drawlay_hndl, xCoo, yCoo, raggio, m_utils.ColorByName(tkMapColor.Gray), False)
...

If I set to tkWgs84Projection.Wgs84_UTM_zone_32N it works fine. It seems to be a problem related to google mercator projection.

Does anybody can help me?
thanks
Marco

Viewing all articles
Browse latest Browse all 2341

Trending Articles



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