Thanks for your suggestion. I could place marker on google map. The thing i need is to pass some value(zipcode) to map, so that to display the markers in that specified zipcode only. can u suggest any possible way to pass the value.
On Jan 23, 6:02 pm, Rossko <[email protected]> wrote: > > can you suggest the other way to createmarkerother than using > > GMarker and > > which results better to my requirement(label on themarker). > > my xml: > > ex:<markers> > > <markeraddress="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-w... > 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 > varmarker= 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 -~----------~----~----~----~------~----~------~--~---
