sg

Pazartesi, Aralık 26, 2005

Re: Why Do My Markers Hate Me?! (They Disapear)


Wasn't it diablodemorte@gmail.com who wrote:
>
>Ok.. I'm new to the forum/discussion board so please... be nice, I know
>I can sound like an idiot..
>
>Heres the situation:
>I've been experimenting with the api and now I want to make a maker
>that when clicked on displays a message... I got the displaying message
>and maker thing down.. But when one presses the marker is goes away :'(
>:'(.. Does it just hate me? Please help!

This piece of code is removing it

GEvent.addListener(map, 'click', function(overlay, point) {
if (overlay) {
map.removeOverlay(overlay);
}

>P.S. I also had another question.. How does one "start" a map out in
>Hybrid mode?

map.setMapType(G_HYBRID_TYPE);

--
The Blackpool Community Church Google Map API Tutorial
http://www.econym.demon.co.uk/googlemaps/

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık