/map.addOverlay(createMarker(point,i,labeltext));
calls up a routine to use xml info and generate markers from that;
works fine on local host
/function createMarker(point, index,label) {
/ // Create a lettered icon for this point using our icon class
/ var letter = String.fromCharCode("A".charCodeAt(0) + index);
/ var letteredIcon = new GIcon(baseIcon);
/ letteredIcon.image = "http://www.google.com/mapfiles/marker" +
letter + ".png";
// Set up our GMarkerOptions object
/ markerOptions = { icon: letteredIcon };
/ var marker = new GMarker(point, markerOptions);
/ GEvent.addListener(marker, "click", function() {
/ marker.openInfoWindowHtml("<b>" + letter + "</b>: "+ label);
/ });
/ return marker;
/}
On Feb 25, 6:58 am, AnthonyP <[email protected]> wrote:
> If you don't get a prompt, it's working. It's not displaying because
> I never see you call loadmarkers() anywhere in your code.
>
> On Feb 25, 8:51 am, vim <[email protected]> wrote:
>
> > tried that as well; script now reads (on one line):
> > <script
> > src="http://maps.google.com/maps?file=api&v=2&
> > key=ABQIA....
> > type="text/javascript">
>
> > the only effect, again, that it does not give me the reject message,
> > but now silently rejects me and just doesn't work...
>
> > On Feb 25, 1:33 am, Rossko <[email protected]> wrote:
>
> > > >http://www.bioregionalplanning.uidaho.edu/longvalley/map.aspx
>
> > > The page at that URL still has sensor=true_or_false , we can't see
> > > what you're getting now and you haven't really described it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---