Please see
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines?hl=en

In particular to the 'Post a link to your map online' bit.

See also
http://code.google.com/apis/maps/documentation/controls.html

On Thu, Oct 9, 2008 at 11:28 AM, Venkatesh Dayalan <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have a question regarding the output that I get by using geocode API. If
> you had a chance to look at the output of the iframe, there are certain
> controls on the iframe output like "zoom in", "zoom out", "scroll
> horizontal", "scroll vertical", "map view", "satellite view", terrai view".
> These controls are not appearing in the output map that is constructed with
> geocode api. I constructed the map using the following functions. Also
> attached the output of iframe map and geo code api map for quick reference.
>
> Is there anyways to bring those controls on the output map like in the
> iframe map?
>
> Thanks in advance
> Venkatesh
>
>
>      address = "4689 Sacramento Rd, CA 92371, USA"
>
>     function load()
>     {
>         map = new GMap2(document.getElementById("map"));
>         geocoder = new GClientGeocoder();
>
>         geocoder.getLocations(address, addToMap);
>
>     }
>
>     function addToMap(response)
>     {
>         place = response.Placemark[0];
>         point = new
> GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
>         map.setCenter(point, 13);
>         marker = new GMarker(point);
>         map.addOverlay(marker);
>         marker.openInfoWindowHtml(place.address);
>     }
>
>
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to