Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: using osm tiles with different projection

Hi all, I have a problem with osm tiles: if I use a projection like UTM (WGS84) tiles appear not aligned and withe squares appear between them.
    m_MapProj = New GeoProjection
    m_MapProj.SetWgs84Projection(tkWgs84Projection.Wgs84_UTM_zone_32N)

    AxMap1.GeoProjection = m_MapProj
    AxMap1.TileProvider = MapWinGIS.tkTileProvider.OpenStreetMap
    AxMap1.KnownExtents = MapWinGIS.tkKnownExtents.keItaly
    AxMap1.GrabProjectionFromData = False
if I use m_MapProj.SetGoogleMercator osm layer works fine.

Am I doing something wrong?
thanks
Marco

Viewing all articles
Browse latest Browse all 2341

Trending Articles