Not sure why you got that. Sorry.
On Apr 2, 11:49 am, Elisabeth <[email protected]> wrote:
> Um,... I thank you for this code, but now what am I suppose to do with it?
> Was I sent this email by accident?
>
> On Thu, Apr 2, 2009 at 10:33 AM, [email protected] <
>
>
>
> [email protected]> wrote:
>
> > Hello. Here is my code:
>
> > <script type="text/javascript">
>
> > //<![CDATA[
>
> > if (GBrowserIsCompatible()) {
>
> > function createMarker(point,html) {
> > // ======== Add a "directions" link ======
> > html += '<br> <a href="http://maps.google.com/maps?
> > saddr=&daddr= <http://maps.google.com/maps?%0Asaddr=&daddr=>' +
> > point.toUrlValue() + '" target ="_blank">Directions<\/
> > a>';
>
> > var marker = new GMarker(point);
> > GEvent.addListener(marker, "click", function() {
> > marker.openInfoWindowHtml(html);
> > });
> > return marker;
> > }
>
> > var map = new GMap2(document.getElementById("map"));
> > map.addControl(new GLargeMapControl());
> > map.addControl(new GMapTypeControl());
> > map.setCenter(new GLatLng(40.29989,-74.02871),14);
>
> > var point = new GLatLng(40.29688,-74.02760);
> > var marker = createMarker(point,'<div style="width:
> > 200px">Systek<br />Street Address<br />Town, State<br />ZIP);
> > map.addOverlay(marker);
>
> > }
>
> > else {
> > alert("Sorry, the Google Maps API is not compatible with this
> > browser");
> > }
>
> > </script>
>
> > When you click on Get Directions in the browser, it loads up google
> > maps, but only displays the coordinates.
>
> > How can I have it display the "address" as well? I had to move the
> > marker since the coordinates were off.
>
> > Thank you!!
>
> --
> Elisabeth
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---