VIAMICHELIN SOAP API
This method allows a map to be generated from a map definition specified by a geographic position (which specifies the centre of the map) and a scale (expressed by a pixel size).
Using this method you can also specify the graphic elements which can be drawn on the generated map. The graphicItems attribute (see GraphicItems) contains the specification of these graphic elements. Three types of graphic elements are available:
The graphic representation of a route defined by a list of geographic points or a list of pixels points (see inputTraceList defined in GraphicItems).
The graphic representation of a location (see pinLogos attribute defined in GraphicItems).
In addition to the URL for the generated map, the response structure also contains the map definition corresponding to the generated map (this information can be used to implement interactions with the generated map), the copyright you have to associate with the generated map, and information about the "pin-logos" drawn on the map (their positions and their hot areas).How to specify a map action
The main parameter of the method (see BestMapRequest structure) defines actions which have to be applied on map corresponding to the specification to obtain the generated map.
To specify such actions, you must initialise the actionsOnMap attribute defined in MapOptions structure (see options attribute of BestMapRequest structure).
You can specify up to 5 consecutive actions, initialising for each one the following attributes:
|How to use your own icons
It is possible to use your own icons to clearly identify personal or corporate elements to be displayed on the generated map.
In this case, you have to conform to the following procedure:
Code sample (Java)
|Code sample (VB.NET)
|Code sample (C#.NET)