hi,, i'm very newbie in use google map, n javascript,, may i aks some
think..
i create dropdown list to show marker, and when i select another list,
marker still show, this my code:

function initialize(){
if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("mapku"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(-7.805708, 110.364113), 13);

                }
                }
function coba(){
        var identitas = function (id){return document.getElementById(id)}
        if (identitas("ButtonJalur").checked){
                if(identitas("jalur").value=="1A"){
                var marker= new GMarker( new GLatLng(-7.805708, 110.364113));
                map.addOverlay(marker);
                }

                if(identitas("jalur").value=="1B"){
                var marker= new GMarker( new GLatLng(-7.805808, 110.364913));
                map.addOverlay(marker);
                        }
 any help me??
pliss?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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