Advanced Google Maps API

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites

    Advanced Google Maps API - Presentation Transcript

    1. Advanced Google Maps API Dr. Harry Chen CMSC 491S/691S March 31, 2008
    2. Previously on Google Maps API…
      • A HelloWorld example
      • Key components of GMaps API
        • Controls and GMarkers
      • How to read GeoRSS and KML
    3. Agenda
      • Events
      • Overlays
      • GoogleBar
      • StreetView
    4. Simple GMaps Event
      • Say something when the user clicks…
      Try this * Make sure you click the map
    5. Events in GMaps
      • Events in a Google Map are generated by the “GMap2” object. For example, an event is fired when …
        • … a map type is added
        • … the map is clicked
        • … a double-click is done on the map
        • … the map view starts changing
        • … the zoom level is changed
        • … the user starts to drag the mouse
      • For the full list, see GMaps.Event doc
    6. Passing Arguments in Events Try this
    7. Remove Listener!
      • If you created an Event Listener in GMaps, you’re responsible to remove this listener.
      • Failure to do so could exhaust the computing resources on the client machine.
      http://code.google.com/apis/maps/documentation/events.html#Removing_Event_Listeners
    8. GMaps Overlay in Action http:// nycsubway.eyebeamresearch.org /
    9. What’s Overlays
      • Overlays are objects on the map that are tied to latitude/longitude coordinates, so they move when you drag or zoom the map. Overlays reflect objects that you "add" to the map to designate points, lines, or areas.
      http://code.google.com/apis/maps/documentation/overlays.html
    10. We’ve seen overlays last time…
    11. Other overlay examples
    12. GoogleBar
      • Allows you add Google Local Search capability on a map
      • Works the similar to the Google AJAX Search API
    13. An Example Try this
    14. StreetView
      • Adds 360 degree views of the roads in the major cities.
      http:// www.youtube.com/watch?v =91wuBqlny50
    15. StreetView Example Try this
    16. Questions?

    + hchen1hchen1, 2 years ago

    custom

    2662 views, 2 favs, 0 embeds more stats

    More info about this document

    CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

    Go to text version

    • Total Views 2662
      • 2662 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 59
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories