On Aug 22, 10:06 am, djcustom <i...@djcustomdesign.com> 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.html?lat=39.665&lng=-74.6&zoom=7&filename=http://www.geocodezip.com/geoxml3_test/NewJerseyInverted_kml.xml

or:
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_nosidebar.html?lat=40.426042&lng=-82.957764&zoom=7&filename=http://www.geocodezip.com/geoxml3_test/OhioInverted_kml.xml

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.

   -- 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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to