[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-17 Thread 7heroes
Hi Berry, your demo is really good. I can export the polygons that I drew on google map to png files :D by using your pixel mapping. Thanks, Sam. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the

[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-14 Thread 7heroes
oh I see, this is a great information, but in your case, 256 is half of circumference, am I correct? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/goog

[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-14 Thread 7heroes
Hi Berry, I'm very curious that why did you use the magic number :) 256 but not other number such as 320 or 640? I assume number 20 is the max zoom level from Google Map, please correct me if I'm wrong. Thanks, Sam. PS: I noticed that you updated your demo, good job! -- You received this mes

[Google Maps API v3] Re: How-to Save Polygon Overlays to PNG or JPG format

2011-10-13 Thread 7heroes
Hi Berry, Are you the author of the demo that Chris sent me? if yes, can you tell me where did you find the offset that equal 268435456? can it be use anywhere on Earth or just on the area that on your map? Thanks, Sam. -- You received this message because you are subscribed to the Google Gr

Re: [Google Maps API v3] How-to Save Polygon Overlays to PNG or JPG format

2011-10-13 Thread 7heroes
Hi Chris, I saved the array of latlngs of the polygon as you suggest for later rendering which work really cool, but I would like to save them as PNG as well because I need to edit the polygon (represented a building) further such as adding walls etc... in Paint or I will write other app to ad

[Google Maps API v3] How-to Save Polygon Overlays to PNG or JPG format

2011-10-12 Thread 7heroes
Hi all, Is there a way to save all the polygons drew on google map to PNG or JPG files? I only need to capture the polygon, but not the google map. Something like if I drew a triangle on google map, and right click the triangle, select export to PNG, it will save only the triangle overlay (not

[Google Maps API v3] Re: Google Map V3 Click Event for multiple objects (marker, polygon...)

2011-10-12 Thread 7heroes
Thanks Larry, work like a charm :). -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/teKVT-MyZw0J. To post to this group, send emai

[Google Maps API v3] Google Map V3 Click Event for multiple objects (marker, polygon...)

2011-10-11 Thread 7heroes
Hi all, I have an array of object (polygons), and each object has its own click event. I am successfully attached click event to each object which will trigger the same OnPolygonClick(e), however I don't know how to determine which polygon is clicked, something like if you click on a polygon wh