On Jul 9, 2:13 pm, zubi <[email protected]> wrote: > Thanks for the reply Ralph and Andrew > > The information is really helpful. But somehow the code is not > working. I think it is not recognizing the LabeledMarker class. Do I > need to import anything in the jsp. > > I used like this: > var marker = new LabeledMarker(locLatLng, {icon:letteredIcon, > labelText: rate }); > > My importing script is like this: > <script src="http://maps.google.com/maps?file=api&v=2&key=# > {googleMap.gmapKey}" type="text/javascript"></script>
Have you included the LabeledMarker script as well? <script src="http://gmaps-utility-library.googlecode.com/svn/trunk/ labeledmarker/release/src/labeledmarker.js" type="text/javascript"></script> That needs to go in after the Maps API script but before you first use a labelled marker. 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 -~----------~----~----~----~------~----~------~--~---
