0

Google Maps getBounds function

asked 2008-06-16 09:00:22 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5035193

By: khevz08

I have been working on a GIS application that maps our crops data into a google map (I am using ZK 3.0.4 but planning to convert to 3.0.5). Everything is going well except the case when the result of the query exceeds 1000 data points (we currently have ~63000 records). Now, I already have an algorithm that would make use of a grid to avoid loading too many data points at once. But my problem is that I need to find the current BOUNDS of the Google map (which would update everytime the user moves or zoom in/out of the map). The javascript API of Google Maps has getBounds() method that "returns the the visible rectangular region of the map view in geographical coordinates". Does ZK's Gmaps has a corresponding method for the "getBounds()" function of Google Maps? I have been looking for this for days now, and I am still not able to find any. If there is still no direct Java method of this function, is there another way to get the current bounds of the map? Any help would be greatly appreciated. Thanks.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2008-06-18 07:50:53 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039556

By: henrichen

Please download Gmaps 2.0_8.

http://sourceforge.net/project/showfiles.php?group_id=152762&package_id=208551


link publish delete flag offensive edit

answered 2008-06-18 06:07:49 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039391

By: khevz08

Ok. So is that function not implemented yet? In any case, I'll post this to Feature-Request right away. Thanks.

link publish delete flag offensive edit

answered 2008-06-16 10:24:09 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5035357

By: henrichen

Please post to feature request.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-06-16 09:00:22 +0800

Seen: 251 times

Last updated: Jun 18 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More