To see Map Image Web Service in action, interact with a live sample of a Map Image client.
convertMapCoordsToPixelCoords(mapArea:MapArea, mapSize:MapImageSize, mapCoords:Point[], token:string):PixelCoord[]
convertPixelCoordsToMapCoords(mapArea:MapArea, mapSize:MapImageSize, mapClickPoints:PixelCoord[], token:string):Point[]
getBestMap(mapImageOptions:MapImageOptions, bufferPercent:double, token:string):MapImageInfo
getBestMapArea(mapImageOptions:MapImageOptions, bufferPercent:double, token:string):MapArea
getCustomThematicMap(mapArea:MapArea, mapImageOptions:MapImageOptions, thematicData:ThematicData, thematicOptions:ThematicOptions, thematicColors:ThematicColors, token:string):MapImageInfo
getESRIThematicMap(mapArea:MapArea, mapImageOptions:MapImageOptions, thematicField:string, thematicOptions:ThematicOptions, thematicColors:ThematicColors, token:string):MapImageInfo
getFusedMapImage(mapFusionOptions:MapFusionOptions[], outputImageFormat:string, token:string):string
getMaps(mapAreas:MapArea[], mapImageOptions:MapImageOptions[], token:string):MapImageInfo[]
getMarkerNames(iconDataSource:string, token:string):string[]
getSavedMap(savedMapID:string, token:string):MapImageInfo
getThematicFields(thematicDataSource:string, token:string): string[]
getValueMap(mapArea:MapArea, mapImageOptions:MapImageOptions, thematicData:ThematicData, codeColorValues:KeyValue[], thematicOptions:ThematicOptions, token:string):MapImageInfo
getVersion:string
saveMap(mapArea:mapArea, mapImageOptions:MapImageOptions, token:string):string
convertMapCoordsToPixelCoords |
Converts x,y coordinates to image pixel coordinates. |
|||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||||||||
|
Input |
|
|||||||||||||||
|
Output |
||||||||||||||||
|
Code examples |
|
convertPixelCoordsToMapCoords |
Converts image pixel coordinates to x,y coordinates. |
|||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||||||||
|
Input |
|
|||||||||||||||
|
Output |
Point[] |
|||||||||||||||
|
Code examples |
|
getBestMap |
Returns a map with the minimum extent that contains all the circles, polygons, lines, and markers specified in the object MapImageOptions. By default, there is a small buffer around all the objects. If you want the default extent of the data source, send a request without any circles, polygons, lines, or markers. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
getBestMapArea |
Returns a map area with the minimum extent that contains all the circle, geometries, and markers specified in the object MapImageOptions. By default, there is a small buffer around all the objects. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
getCustomThematicMap |
Returns a thematic map based on user-supplied data that match specific geography IDs. Coloring of each region is based on ESRI class breaks. See Map Image notes for more information on thematic mapping. |
|||||||||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||||||||||||||
|
Input |
|
|||||||||||||||||||||
|
Output |
||||||||||||||||||||||
|
Code examples |
|
getESRIThematicMap |
Returns a thematic map based on ESRI-supplied variables. Coloring of each region is based on ESRI class breaks. See Map Image notes for more information on thematic mapping. |
|||||||||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||||||||||||||
|
Input |
|
|||||||||||||||||||||
|
Output |
||||||||||||||||||||||
|
Code examples |
|
getFusedMapImage |
Returns a map URL based on two merged map images. The first map in your request appears as the bottom image and the second map appears as the top image. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
string |
||||||||||||
|
Code examples |
|
getMaps |
Returns map URLs for given map areas. The length of MapArea and MapImageOption arrays must match. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
|||||||||||||
|
Code examples |
|
getMarkerNames |
Returns available icons for a given icon data source. |
|||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||
|
Input |
|
|||||||||
|
Output |
string[] |
|||||||||
|
Code examples |
|
getSavedMap |
Returns a map saved with method saveMap. |
|||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||
|
Input |
|
|||||||||
|
Output |
||||||||||
|
Code examples |
|
getThematicFields |
Returns a list of available fields for creating a thematic map with the method getESRIThematicMap. See Map Image notes for more information on thematic mapping. |
|||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||
|
Input |
|
|||||||||
|
Output |
string[] |
|||||||||
|
Code examples |
|
getValueMap |
Returns a value map based on user-supplied data that matches specific geography IDs. The user determines the color of each region. See Map Image notes for more information on thematic mapping. |
|||||||||||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
|||||||||||||||||||||
|
Input |
|
|||||||||||||||||||||
|
Output |
||||||||||||||||||||||
|
Code examples |
|
getVersion |
Returns the version number of Map Image Web Service. |
||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
||||
|
Output |
string |
||||
|
Code examples |
|
saveMap |
Saves a map and returns an ID. Use the ID with the method getSavedMap to retrieve the map. |
||||||||||||
|
Endpoint URL |
http://www.arcwebservices.com/services/v2006/MapImage |
||||||||||||
|
Input |
|
||||||||||||
|
Output |
string |
||||||||||||
|
Code examples |
|
Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.