I've seen a handful of posts on similar subjects, but no bug report or
real resolution for what I'm seeing.  The situation is this:  I have a
map on which users can draw polygons. Once those polygons are drawn
(i.e., the endline event has fired), they are turned into editable
polygons for fine tuning.  While those polygons are still editable, if
you adjust the zoom, the polygon does not zoom correctly.  Sometimes,
this means that the polygon is entirely absent at the new zoom level.
Others, it means that you can see just the handles at the vertices and
virtual vertices (i.e., the ones at the midpoints of the polylines).
And sometimes it means that the polygon is still visible, but only the
handles at the vertices have scaled to the new zoom level (i.e., the
polygon remains fixed at the original dimensions while the handles
have adjusted appropriately).  In this last case, you can usually
click on a handle and adjust it, and the polygon will snap back to
where it's supposed to be. Also, once you've altered the zoom, quite
often, you can disable the editing mode but the polygon can't be
removed from the map.

In an effort to bypass and/or workaround the situation, I have
attempted to use zoomstart and zoomend listeners to suspend editing
for a moment (and then re-enable it) while the zoom transition is
processed to no effect.

At any rate, here is the question:  has anyone else seen this sort of
behavior?  If so, does anyone have any insights into a solution and/or
workaround?

Here's the repro information:

http://e-topo.easterntopographics.com/
Browser/OS: FF3/Mac OS X 10.5.4
Step 1: Click the pencil icon near the zoom control in upper-left
corner of map to enable drawing mode.
Step 2: Draw a polygon by clicking repeatedly on the map, double
clicking when done.
Step 3: Change the zoom level of the map.  I recommend positioning the
polygon near the map center and zooming one level in.

To attempt to remove the polygon from the map, click the pencil icon
again.  The green dot will disappear, and the polygon SHOULD
disappear.

If you're looking for the relevant code in the JS, it should be
isolated to lines 157-192 of jETPI.js.  Thanks!

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[EMAIL PROTECTED]

If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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