I've created this map here now @ www.meadowlarkco.com/testrollover3.html and it works if you have 4 points....but when I add in the additonal ones I receive a syntax error.
This is roughly based off of the tutorial at http://code.google.com/apis/maps/documentation/javascript/overlays.html referencing polygon options If you could take a look at see why I cannot add more than 4 points I would really appreciate it. thanks On Oct 7, 8:00 am, xelawho <[email protected]> wrote: > > ok, I've put this together atwww.meadowlarkco.com/testrollover.html > > shows fine for me, too... polygons are all arrays of latitude/ > longitude pairs - Mike's, mine, google's examples all work this way... > the only difference with Mike's is that he stores the data in an > external file whereas google and I have it hardcoded into the source. > > what you have to do is define your shapes by finding the lat/lng pairs > for the outline of the polygon. > > you might find that someone has defined these already, but being that > your regions are a composite of states you might not. > > so failing that you're left with two choices - try to modify Mike's > data to lump various states into one shape or use the tool I sent you > the link for to click on the map and generate the shapes (and the > code) yourself. > > once you've got the shapes displaying on the map, you can use the > example code I sent to get the rollover functionality happening. > > and if you are going with the v3 approach, you might as well start > posting in the v3 group, > here: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 API V2" 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.
