AnsweredAssumed Answered

Click to download a map tile

Question asked by appswithmaps on Aug 19, 2014
Latest reply on Aug 19, 2014 by appswithmaps

Hi,

 

I'm building an application where users can click on the map to download a map tile. I can see that the ArcGISTiledMapServiceLayer has a getTileUrl() method, but has anyone got any idea about how I can identify a particular tile beneath a user's map click?

 

The Silverlight API has a TileLoading event, but I can't find anything similar in the ArcGIS Server API for JavaScript. My idea was to attach a click event handler to each tile as it loads, and then use getTileUrl(coords) to locate the required tile.

 

What would also be great to do is add a feature layer graticule to identify the individual tiles, but I can't figure out a good way to do this.

 

I would really appreciate any suggestions.

 

Thanks,

Mark

Outcomes