Google Maps Mashup Sample

From Oxygen.next Wiki

Jump to: navigation, search

How do you think about this sample? ( 4 votes )
1.25 / 5

This javascript/php example queries the Oxygen.next REST-API via a small php proxy script and displays the user's stations in google maps. The current state of a station is shown as a colored marker [red/green]. This marker can also be clicked to show more information and to display the last screenshot from a specific station.

File:gmaps.gif

Sources can be found here: http://oxygennext.codeplex.com/

A working installation can be found here: http://42mediagroup.com/api_samples/GoogleMapsSample/index.htm

This script does the following:

  1. Initialize Google Maps API
  2. Find user's stationlist
  3. Get stationlist
  4. Fetch screenshots and alerts
  5. Geocode station addresses
  6. Create and display overlays (stations)

Requires a valid Google Maps API key!

Personal tools