- Google Maps v3
- Cloudmade Web Maps API (Version 0.2 to 0.8)
- Bing Maps (Version 6.x)
- MapQuest (Version 5.3.x)
- Google Maps v2 (discontinued)
- Yahoo! Maps (discontinued)
Terms and Conditions of Use
- You must provide a link to webcams.travel with the text "EasyMap webcams provided by webcams.travel" in the context of the EasyMap. HTML code:
Quick StartAdd the following
scripttag to the header of the page where your map is.
<script src="http://api.webcams.travel/jsapi?devid=YOUR_DEVELOPER_ID"></script>Please keep in mind that you add this
scripttag after the
scripttag you use for loading the map API.
mapthat is used for the
webcamstravel.easymap.load()function has to be a valid instance of one of the supported map APIs you want the webcams add to.
To see an example, please signup for a developer ID.
In order to get access to the API you need to load the API code into your page from
http://api.webcams.travel/jsapi. You have to pass your developer ID:
|devid||Your developer ID. Please signup for a developer ID if you do not already have one.|
<script src="http://api.webcams.travel/jsapi?devid=YOUR_DEVELOPER_ID"></script>After loading the API into your page you have these functions available:
Adds the webcams to
|webcamstravel.easymap.unload()||none||Unloads the webcams from your map(s).|
Retrieve the instance of the webcam loader that is assigned to the given handle. The handle is the
return value of the
|showWebcams()||none||Displays the webcams on your map. The webcams that get displayed depend on the current viewport of your map and the current zoom level.|
|hideWebcams()||none||Removes the webcams from your map.|
|unload()||none||Removes the webcams from your map and unloads the webcam loader. This renders the instance of the webcam loader invalid.|
If you have questions or suggestions, feel free to get in touch with us. Please visit our webcams.travel API discussion group
Back to the API index page