Hi,
at first thanks for the response.
As you can see in the top i try 3 different ways to get the tiles.
at first thanks for the response.
As you can see in the top i try 3 different ways to get the tiles.
first case:
bool tmp = providers.Add(providerId, "Custom TMS provider", "http://localhost/cgi-bin/mapserv.exe?map=D:/ms4w/apps/osm/basemaps/osm-google.map&mode=tile&layers=all&tilemode=gmap&tile={x}+{y}+{zoom}.png", tkTileProjection.SphericalMercator, 0, 17);
here i try to get the tiles via the mapserv.exe running on my localhost Apache server. (doesnt work)second case:
bool tmp = providers.Add(providerId, "Custom TMS provider", "http://tile.openstreetmap.org/{zoom}/{x}/{y}.png", tkTileProjection.SphericalMercator, 0, 17);
here i try to get the tiles via openstreetmap.org directly from the internet. (works fine)And in the 3rd case:
bool tmp = providers.Add(providerId, "Custom TMS provider", "file:///d:/ms4w/Apache/htdocs/maps/{zoom}/{x}/{y}.png", tkTileProjection.SphericalMercator, 0, 17);
here i try to get the tiles from the localhost Apache via file access. (doesnt work)