5 Things Google Map API

2,154 views

Published on

5 things to know when getting started with Google Map API.

Lightning talk at Google Technology User Group Kuala Lumpur Meetup #1

GTUGKL

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,154
On SlideShare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
34
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

5 Things Google Map API

  1. 1. 5 Things to Know when developing with Google Map API Lightning Talk @ GTUG Kuala Lumpur Meetup #1
  2. 2. #1 Javascript Closure
  3. 3. function createMarker(point, number) {   var marker = new GMarker(point);   var message = ["This","is","the","secret","message"];   marker.value = number;   GEvent.addListener(marker, "click", function() {     var myHtml = "<b>#" + number + "</b><br/>" + message[number -1];     map.openInfoWindowHtml(point, myHtml);   });   return marker; }
  4. 4. #2 Javascript Object Literal
  5. 5. polygon.setStrokeStyle( {color: color, weight: 3, opacity: 1.0} );
  6. 6. #3 Custom Marker Maker
  7. 7. http://www.powerhut.co.uk/googlemaps/custom_markers.php
  8. 8. #4 GPoint vs GLatLng
  9. 9. #5 Google Map Docs
  10. 10. a calling to all local web developers USE THE MAP !
  11. 11. Finish. Kegan Gan <kegan@kegan.info>

×