Thanks for the tips bratliff. I was actually expecting i'd have to do some scaling, but I was thinking if I setup my polygons right and the canvas properly in illustrator, I could do some simple conversions on the points to scale them up/down to the right size, so they could relate to my lat/lng system (alternate projection, flat, not spherical).
About the resizing for the zoom levels. Are you sure that will be necessary, since map polygons are scaled automatically when zoomed? I probably didn't really explain that portion of my original post. I'd want to go from SVG XML through a few conversions resulting in native Google map polygons and polylines, which would be handled by the API. That would remove the need for me to deal with an SVG overlay and matching up the lines and points etc. On Mar 12, 1:51 pm, bratliff <[email protected]> wrote: > On Mar 12, 6:36 pm, Brak <[email protected]> wrote: > > > I'm interested in storing my polygons in an external SVG file. Has > > anyone dose this already with v3 and is there a simple/easy way to > > load them in? > > > If not, I can write an AJAX query to load and parse the SVG file > > directly, converting <polygon>s into google.maps.Polygon()s so they > > natively load. > > > Just curious if anyone had any thoughts, refreneces, or suggestions > > regarding SVG the v3 API specifically. I know people have done it with > > v2, but if it's already done in v3, I might as well save myself the > > trouble, right? > > You will have to convert Lat/Lon coordinates to pixel coordinates. > You will have to rescale at different zoom levels. -- 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 [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-js-api-v3?hl=en.
