Re: [Google Maps API v3] Re: Polygons not rendering
Okay - but what do you gain here? Are you displaying the same Polygon/Polyline on different maps? Chris -- http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
On 14 April 2011 09:04, sgiddings mr.s.giddi...@gmail.com wrote: I have a similar problem. I use two methods to obtain a shape with a hole in it. The shape is either a donut or a polygon. The problem is perfectly demonstrated here - http://www.geocodezip.com/v3_polygon_example_donut.html As you can see, the inner circle is no longer empty. The same situation occurs using two polygons (inner and outer) Polygons now use canvas. Canvas requires the lines go in different directions to create a doughnut. I've doctored Larry's example here: http://www.acleach.me.uk/gmaps/v3_polygon_example_donut.html Reference: http://econym.org.uk/gmap/chrome.htm#winding -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
Thanks Andrew, Shame that google pushed out this change before announcing it. I saw the effect at least 2 days ago ! Simon -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
On 14 April 2011 10:08, sgiddings mr.s.giddi...@gmail.com wrote: Shame that google pushed out this change before announcing it. I saw the effect at least 2 days ago ! I get my (irregular) polygon boundary coordinates from others. They are generated from Mapinfo and I've no idea which way they go; I don't think they're consistent. So: is there any way to turn off canvas rendering? And/or: does anyone know how to determine which way a collection of points winds? (Just to save me searching for an algorithm) -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
On 14 April 2011 10:17, Andrew Leach andrew.leac...@gmail.com wrote: So: is there any way to turn off canvas rendering? And/or: does anyone know how to determine which way a collection of points winds? (Just to save me searching for an algorithm) Found this for the second question, which may help others too: http://www.idevgames.com/forums/thread-8814.html -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
Click on the construction checkbox for both maps. The construction polygons load in 3.3, and not in 3.4. On Wed, Apr 13, 2011 at 4:04 PM, PhilR8 phi...@gmail.com wrote: I'm using a click listener for the polygon click, which uses the getBounds extension. See http://pages.towson.edu/preese/campusmap2.0/mar7/js/point_in_poly.js for the code. And that doesn't affect the mouseover listener for the tooltips. The polygons are not loading. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- Phil Reese -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
*Temp fix:* http://maps.google.com/maps/api/js?*v=3.3*sensor=true *Theory:* Polygons must have a border in 3.4. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
I've got a demo that shows using Google's geometry library to measure length/area which doesn't work any more. The geometry for the polygon is still good, as the area measurements I'm getting are accurate, but polygon is drawn. I'm actually drawing a line and a polygon and the line stops drawing after 3 vertices, but continues returning valid length measurements. Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help debug the problem. http://demos.geojason.info/google-maps-api-v3-geometry-library.php On Wed, Apr 13, 2011 at 4:52 PM, Adam adamcow...@gmail.com wrote: *Temp fix:* http://maps.google.com/maps/api/js?*v=3.3*sensor=true *Theory:* Polygons must have a border in 3.4. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Re: [Google Maps API v3] Re: Polygons not rendering
Thanks Jason, I've narrowed that bug down and filed an issue internally. Specify v=3.3 for now. On Thu, Apr 14, 2011 at 12:24 PM, Jason Sanford jasonsanf...@gmail.comwrote: I've got a demo that shows using Google's geometry library to measure length/area which doesn't work any more. The geometry for the polygon is still good, as the area measurements I'm getting are accurate, but polygon is drawn. I'm actually drawing a line and a polygon and the line stops drawing after 3 vertices, but continues returning valid length measurements. Dropping to v3.3 fixes the issue, but I'm leaving it up in hopes to help debug the problem. http://demos.geojason.info/google-maps-api-v3-geometry-library.php On Wed, Apr 13, 2011 at 4:52 PM, Adam adamcow...@gmail.com wrote: *Temp fix:* http://maps.google.com/maps/api/js?*v=3.3*sensor=true *Theory:* Polygons must have a border in 3.4. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. -- http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.