GetMap

This method will return javascript code for either Mapbox or Google Maps depending on the country determined from the passed IP address or lat/lng.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int32
required
string
required
string

IP Address or Latitude and Longitude are required.

string

IP Address or Latitude and Longitude are required.

string

IP Address or Latitude and Longitude are required.

string

Custom icon to display on the map. If none provided, Bullseye icon will be displayed.

string

Custom icon for selected marker

string
required

Json String of location data. Can include any combination of Location Name, Address, Country, State, City, Postal Code, Latitude and Longitude)

int32

Optional parameter to specify the size of the map. If none provided the default is 500px.

boolean

Optional parameter to display popup on the map, Mapbox displays popup by default

string

Source of the request, set under Map Sources

boolean

Set to true if using Google Places functionality

string

Specifies the position of the navigation controls on the map

string

Latitude and Longitude coordinates to center the map

boolean

If true, clustered markers are returned

string

Styles got the map in json format

string

Style URL to modify the appearance of the Mapbox map

string

Name of the event that will be triggered when the marker popup opens

string

Name of the event that will be triggered when the marker popup is closed

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json