thanks for you reply... let me explain the thing again.
i have only address with me and using the address alone and using
GMarker function i'm able to place the marker, and with the same
address now i would like to print the label with some text
coresponding to the address.
i saw some tutorials which are using the opts constructor and
labeledmarker function for doing this
opts = {
"icon": icon,
"clickable": true,
"title": name,
"labelText": iconStr,
"labelOffset": new GSize(-6, -10)
};
var marker = new LabeledMarker(point,opts);
but i dont know how to use the above constructor and make the label
printed with only address as input
and my xml source will be as follows
<markers>
<marker address="abc, columbus, ohio, 54321" label= "grade I city" />
</markers>
On Jan 22, 2:08 pm, "[email protected]" <[email protected]>
wrote:
> On Jan 21, 11:16 pm, Ram <[email protected]> wrote:> The link provided some
> xml files which contains lat and lng along
> > with some numbers.
> > as mentioned above my xml contains address and label ( number value).
>
> ^^^^ actually below since you are top posting...> sample
> xml for ref:
> > <markers>
> > <marker address="3535 OLENTANGY RIVER ROAD" label="247"/>
> > </markers>
>
> My xml looks like this:http://www.geocodezip.com/example_number.xml
>
> <marker lat="43.82589" lng="-79.10040" html="Some stuff to display in
> the<br>Third Info Window" label="Marker Three" icon="33"/>
>
> You didn't provide a link to yours. I used my existing format.
>
> Either change your XML to be the same as the code is expecting or
> change the code to process what is in yours.
>
> Shouldn't be too difficult. Post an example of your map that shows
> the problem if you run into issues.
>
> -- Larry
>
>
>
> > its fine if i get any for this type of xml.
>
> > i am getting marker on map without label.so label to be get displayed
> > on marker.
>
> > Ram
>
> > On Jan 22, 11:25 am, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Jan 21, 6:01 am, Ram <[email protected]> wrote:
>
> > > > can you help me how to label the marker using xml file
>
> > >http://www.geocodezip.com/basic8lm.asp?filename=example_number.xml
>
> > > > Thanks
>
> > > > On Jan 21, 6:51 pm, "[email protected]" <[email protected]>
> > > > wrote:
>
> > > > > On Jan 21, 5:48 am, Ram <[email protected]> wrote:
>
> > > > > > iam able to mark the position ,
> > > > > > iam not able to mark the label on marker.
>
> > > > > > ineed label the values on the marker
> > > > > > 123, 234, 456,on each location from xml file.
>
> > > > > I can't guess why that might be. Did you forget to include a link to
> > > > > your map? (Please don't post code, I probably won't look at it)
>
> > > > > -- Larry
>
> > > > > > Thanks
> > > > > > Ram
>
> > > > > > On Jan 21, 6:37 pm, "[email protected]" <[email protected]>
> > > > > > wrote:
>
> > > > > > > On Jan 21, 5:29 am, Ram <[email protected]> wrote:
>
> > > > > > > > thanks for ur reply,
>
> > > > > > > > A labeledMarker
>
> > > > > > > FYI - there is this neat thing in the opens source library called
> > > > > > > "LabelledMarker":http://groups.google.com/group/Google-Maps-API/search?hl=en&group=Goo...
>
> > > > > > > That may do what you want.
>
> > > > > > > -- Larry
>
> > > > > > > > and all the label values are numbers.
>
> > > > > > > > ram
>
> > > > > > > > On Jan 21, 6:10 pm, "[email protected]"
> > > > > > > > <[email protected]>
> > > > > > > > wrote:
>
> > > > > > > > > On Jan 21, 4:22 am, Ram <[email protected]> wrote:
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > I'm trying to create google map using external xml file.
>
> > > > > > > > > > My xml file looks like this:
>
> > > > > > > > > > <markers>
> > > > > > > > > > <marker address="3535 OLENTANGY RIVER ROAD" label="247"/>
> > > > > > > > > > </markers>
>
> > > > > > > > > > All that i need is to place the label on the marker.
>
> > > > > > > > > As a tooltip (GMarker title option)?
> > > > > > > > > A LabeledMarker?
> > > > > > > > > Are all the labels numbers?
>
> > > > > > > > > -- Larry
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---