On 4 Ott, 22:38, "[email protected]" <[email protected]> wrote:
> On Oct 4, 8:38 am, dave <[email protected]> wrote:
>
> > I have the latitude and longitude of some localized points on the map.
> > I could see them but I could not show on the infowindows address them.
> > How do I find the address of all my points?
>
> Can we see the patient (perhaps by following the posting guidelines an
> providing a link to your map)?

Thanks for your reply.

My map has not yet been linked.

 have several markers that I defined in my other programs, as follows,
using an array:
Markers [j] = new Array ();
Markers [j] [0] = "Site" + j;
Markers [j] [1] = Y;
Markers [j] [2] = X;
Markers [j] [3] = j;
Markers [j] [4] = "my text";
Markers [j] [5] = image;
Where to define X and Y the latitude longitude. Then call the
function:

setMarkers (map, markers);

setMarkers function (map, markers) {
for (var i = 0; i <markers.length; i++) {
var sites = markers [i];
var = new siteLatLng google.maps.LatLng (sites [1], sites [2]);
var marker = new google.maps.Marker ({
position: siteLatLng,
map: map,
icon: sites [5]
zIndex: sites [3]
html sites [4]
});

contentString var sites = [4];
infowindow google.maps.InfoWindow var = new ({
content: contentString
});
google.maps.event.addListener (marker, "mouseover", function () {
infowindow.setContent (this.html);
infowindow.open (map, this);
});
}
}

It seems to me the infowindow for each marker. Now, for every marker I
need to find the address ...
I tried with geocode, but I do not work! How can I do?

>
>   -- Larry

Thanks again for your reply.
David

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to