This is a migrated thread and some comments may be shown as answers.

Map control for offline OSM Tiles

1 Answer 292 Views
Map
This is a migrated thread and some comments may be shown as answers.
Suresh
Top achievements
Rank 1
Suresh asked on 10 Mar 2015, 02:27 PM
Hello all

I have downloaded Open Street Maps Tile.

I would like to know whether i can build  Asp.Net MVC 4 Web Application and i want to load OSM Tiles downloaded locally.

The computer will not be connected to the Internet.

Can you please let us know on how to  implement  map control and load tiles from locally downloaded folder.

I would also like to know if i can trigger markers on particular lat and Long

Thanks
Suresh


1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 12 Mar 2015, 09:30 AM
Hi,

The map shouldn't have any issues with local tiles, as long as they follow the same URL convention.
You can configure the tile layer as:
layers: [{
  type: "tile",
  urlTemplate: "http://my.tile.server/#= zoom #/#= x #/#= y #.png",
}]

I hope this helps.

Regards,
T. Tsonev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Map
Asked by
Suresh
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or