Embedding the SPOT Live Map Widget in your WebSite
Author:Article Reference #:AA-00008Views:14030Date Added:2009-04-17 01:00 PMLast Updated:2013-04-26 10:58 AM
1 Rating/ 1 Voters
The SPOT Live Map Widget is a javascript widget that can be embedded into your own website. It retrieves information about the public shared pages created in your main SPOT account and displays them as separate tabs in the Live Map Widget. Selecting a tab causes the LiveMap to load data for that shared page into the map. The selected feed can be shown full screen to give full access to message paging controls.
The Live Map Widget does not require that all the feeds come from the same account, which means it can be configured to display multiple shared page feeds from different accounts.
First signup for the Google Map API key(v2 and NOT v3). Copy the code given below to your webpage. Replace your-gmap-key in the code with the GMap key you signed up for. Replace the shared page ids in the 'feeds' array in this code to include 1 or more of your own feeds. (The feed id is included at the end of every shared page link).