> can you suggest the other way to create marker other than using
> GMarker and
>  which results better to my requirement(label on the marker).
>  my xml:
> ex:<markers>
>    <marker address="3535 OLENTANGY RIVER ROAD" label="247"/>
>    </markers>

You seem to want to use 'labeledmarker', as at
    
http://googlemapsapi.blogspot.com/2007/04/labeledmarker-v10-do-more-with-your.html
that's fine.

Include the labeledmarker script in your webpage, after the API
script.
Sort yourself out a base icon image to write on.

Make sure you are pasing the address and label as you expect from XML

Create a new function that -
Accepts address and label as parameters
Geocodes the address to a lat/long point
Uses the point and label in LabeledMarker call something like
   var marker = new LabeledMarker(point, {icon: myIcon, labelText:
label});


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to