Re: select field show on map
On Mar 1, 4:47 pm, ShawnsSpace <sh...@shawnsspace.com> wrote:
> i could not find anything on using the options you are describing,
Mike Williams has an example of using a drop down on a map in his
tutorial:
Part 15 Lots of sidebar entries
http://econym.org.uk/gmap/basic15.htm
http://econym.org.uk/gmap/example_map15c.htm
-- Larry
> but this is the method i use myself. The links are clickable on this
> sample map i made to help. Sample: http://shawnsspace.com/Maps/
>
> On Feb 28, 1:03 pm, vincent <vkoc...@weltmeer.ch> wrote:
>
>
>
> > Hello
> > i have a question
> > on my pagehttp://www.weltmeer.ch/divelog/
> > on the top right i have a country selector
> > which i would like - after selection to show it on the map
>
> > this would be the script to read out the DB
> > and collect the countrys
>
> > having a look at others they have a onchange="goCountry()
> > but i can't find out what to do
>
> > thanks for help and i know it is not only GoogleMAP problem
> > vincent
>
> > <select name="country" class="textfeld" onchange="goCountry()">
> > <?php
> > //kategorien auslesen
> > $sqlbefehl =" Select printable_name
> > From country ";
> > $erg_cats = mysql_query($sqlbefehl)or die(mysql_error().
> > $sqlbefehl);
> > while($cat = mysql_fetch_assoc($erg_cats)){
> > echo '<option value="'.$cat['printable_name'].'">'.
> > $cat['printable_name'].'</option>';
> > }
> > ?>
> > </select>- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home