cybersthang / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

with MarkerManager (ex. markermanager-googleoffices.html) after doubleclick if i go back with zoom it loose the flag #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open markermanager-googleoffices.html
2. doubleclick on us flag
3. use a minor zoom level (ex.coma back to zoom level 3)

What is the expected output? What do you see instead?
i expected to see again the us flag, but it's disappeared

What version of the product are you using? On what operating system?
stable 1.0. on win xp and mozilla 3.0

thanks
BZ

Original issue reported on code.google.com by beppe.z...@gmail.com on 20 Aug 2008 at 4:04

GoogleCodeExporter commented 8 years ago
Double clicking in that example is set to remove the marker completely from the 
manager:

GEvent.addListener(marker, 'dblclick', function() { mgr.removeMarker(marker) } 
); 

Why did you expect to see the US flag marker re-appear?

Original comment by pamela.fox on 24 Aug 2008 at 6:47

GoogleCodeExporter commented 8 years ago
ok,
i've removed the "mgr.removeMarker(marker)", and now it's ok.

but i've experimented others two anomalous behaviours:
1) trying to use the openInfoWindowHtml function in the GEvent.addListener call,
nothing appears.
2) during the new gmarker creation, if i remove from the options the 
draggable:true
(or if i set it to false) the doubleclick doesn't let me zoom. Setting it to 
true
again the double click returns to let me zooming, but i don't want draggable 
icons.

can you help me please?
thanks a lot
B.

Original comment by beppe.z...@gmail.com on 26 Aug 2008 at 8:47

GoogleCodeExporter commented 8 years ago
If you post a link to your map, I can take a look.

Original comment by pamela.fox on 27 Aug 2008 at 1:27

GoogleCodeExporter commented 8 years ago
the "normal" link is http://www.zupa.it/campiscout_com/test/index.php

the link to the version with draggable set to false and the call to 
openinfowindows is 
http://www.zupa.it/campiscout_com/test/test.htm

thanks
B.

Original comment by beppe.z...@gmail.com on 27 Aug 2008 at 7:00

GoogleCodeExporter commented 8 years ago
another strange behaviour is that the call to the option labelText doesn't work
B.

Original comment by beppe.z...@gmail.com on 27 Aug 2008 at 7:15

GoogleCodeExporter commented 8 years ago
any news about my segnalations?
thanks
B.

Original comment by beppe.z...@gmail.com on 4 Sep 2008 at 12:33

GoogleCodeExporter commented 8 years ago
Re 1) you haven't set the .infoWindowAnchor property.

Re 2) Double-click zoom works for me.

Original comment by pamela.fox on 5 Sep 2008 at 7:06

GoogleCodeExporter commented 8 years ago
Closing bug

Original comment by pamela.fox on 2 Nov 2008 at 10:32