Hi All,

I have a map of different patches.

I want to be able to choose in a dropdown box a patch, and for the map
to zoom into that location.

If i then choose another location in the dropdown box, it then goes
that that area.

I currently have this as the dropdown box, but unsure on ifi  need to
call a function that moves the centre of the map.

 <body body style="font-family:Arial, sans serif; margin:
0px"onload="load()">
    <div id="search">
        <form action="../">
        <select onchange="this.options[this.selectedIndex].value">
    <option value="" selected>Choose Patch....</option>
    <option value="Blandford">Blandford</option>
    <option value="Bridport">Bridport</option>
    <option value="Christchurch">Christchurch</option>
    <option value="Dorchester">Dorchester</option>
    <option value="Ferndown">Ferndown</option>
</select>
</form>


        </div>
        <div id="map"></div>
  </body>
</html>

Any help would be great.

Thanks.

Alan

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