On Nov 28, 2:29 am, StudentMarcus <[EMAIL PROTECTED]> wrote: > I am very new to Google Maps, API , Java Script and HTML. I've > created a map and have my markers, but I would like to label them. > I've tried reading the tutorial onhttp://econym.org.uk/gmap/but I am > confused to where and how to write the label and incorporate a > sidebar.
> I would just like the latitude and longitude locations labeled A, B, C > & D. Adding a label is quite straightforward: see http://code.google.com/apis/maps/documentation/reference.html#GMarker and http://code.google.com/apis/maps/documentation/reference.html#GMarkerOptions: map.addOverlay(new GMarker(new GLatLng(44.433406, -79.832951), {title:"D"})); Adding a sidebar is a matter of HTML. However I would recommend using Mike's tutorial and a "createMarker()" function like he does so that code can be reused. See http://econym.org.uk/gmap/basic1.htm for that; sidebars are dealt with in http://econym.org.uk/gmap/basic2.htm. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
