-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I m using the gmap's invalidate function but when i use the highest zoom level then the markers on gmap are disappears
use this example
<?root-attributes xmlns:v="urn:schemas-microsoft-com:vml"?><!-- For IE -->
<zk>
<!-- Replace "abcdefg" to proper Google Maps key per your host -->
<zscript><![CDATA[//@DECLARATION
public void calling()
{
System.out.println("invalidate calling");
mymap.invalidate();
System.out.println("invalidate called");
}
]]>
</zscript>
<script src="http://maps.google.com/maps?file=api&v=2.x&key=abcdefg"
type="text/javascript"></script>
<gmaps id="mymap" width="1400px" height="660px" showLargeCtrl="true"
showTypeCtrl="true" lat="18.51912660542399" lng="73.85640621185303" zoom="13" onMapZoom="calling()" style="Draggablecursor: crosshair!important" >
<gmarker id="mymark" lat="18.51912660542399" lng="73.85640621185303">
<attribute name="content">
Hello, <a href="http://www.zkoss.org">ZK</a> on top of Gmarker.
</attribute>
</gmarker>
</gmaps>
<vbox>
data: <label id="lbl" pre="true"/>
</vbox>
</zk>
go to highest zoom level and see the marker is disappears
Hi,FlightPlan
this is bug of the gmap
we define zoom scope is 17 but google is 19 now
ref: https://sourceforge.net/tracker/?func=detail&aid=2866238&group_id=152762&atid=785191
//jimmy
Asked: 2009-09-22 10:03:05 +0800
Seen: 190 times
Last updated: Sep 25 '09