Code snippets

Show a static map

<img src="http://developer.multimap.com/API/map/1.2/[api_key]?qs=n227ay& countryCode=gb" alt="" />

Geocode a postcode

Use our REST API to request a geocode in XML or JSON

http://developer.multimap.com/API/geocode/1.2/[api_key]?qs=n227ay&countryCode=gb

Geocoding is also available through the JavaScript API.

Find cashpoints around a postcode

Use our REST API to search for cash points around a given postcode or lat/lon

http://developer.multimap.com/API/search/1.2/[api_key]?qs=n227ay&datasource= mm.poi.global.general.atm

Search is also available through the JavaScript API and Local Information widget.

Code snippets

Show Bird's eye 3D

<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/ mapcontrol.ashx?v=6.1"></script> <script type="text/javascript"> var map = null; var shape = null; var pinCenter = null; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); // Add a pushpin pinCenter = new VELatLong(47.67857,-122.13102); shape = new VEShape(VEShapeType.Pushpin, pinCenter); map.AddShape(shape); //Set the map view to see the pushpin map.SetCenterAndZoom(pinCenter, 15); //Switch to 3D map.SetMapMode(VEMapMode.Mode3D); } function ShowBirdseye() { map.Show3DBirdseye(true); } </script> <body onload="GetMap();"> <div id='myMap' style="position:relative; width:600px; height:400px;"></div> <input id="btnBirdseye" type="button" value="Show Birdseye" onclick="ShowBirdseye();"/> </body>