On Aug 23, 12:04 am, "[email protected]" <[email protected]> wrote: > On Aug 22, 10:06 am, djcustom <[email protected]> wrote: > > > I have been searching everywhere to find information on how to create > > a map like the one found at the link below. > > >http://www.skousenadjusting.com/map.htm > > > I would like to create one for every state. I have not been able to > > find any documentation on how this is done. I contacted the owners of > > the site and the coder that completed it is no longer in business. > > > I basically want to gray out all other states and countries. Any help > > on this matter is greatly appreciated. > > Probably not the simplest way to do it (and it is using the v3 > API):http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_nosidebar.h... > > or:http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_nosidebar.h... > > Uses kml to create a Polygon with a "hole" where the state is. The > kml for the states was exported from the Natural Earth data set in > FusionTables. > > It would be more efficient to create the polygons directly, but I had > the pieces.
Here is a similar example using FusionTables: http://www.geocodezip.com/geoxml3_test/v3_FusionTables_State_invert4_center2.html Two states don't work: Alaska and Virginia. Originally I was doing a map.fitBounds on the state polygon, but this version has the center and zoom stored in a column of the FusionTable. -- Larry -- 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.
