On May 3, 3:30 am, Pinball <[email protected]> wrote: > Hi, > > I am wondering if anyone is able to help me with my problem. > > I am trying to create a map that has a KML overlay of a region, and > then I want users to be able to enter their address and have it > geocoded as a point on the map, so they can see if their address is > located within the region in the KML overlay. > > I have found two examples in Google Maps JavaScript API V3 docs that > do each to part of what I want to do. > > The first one > ishttp://code.google.com/apis/maps/documentation/javascript/examples/la... > which is for the overlay of the KML layer. > > The second one > ishttp://code.google.com/apis/maps/documentation/javascript/examples/ge... > which is for the geocoding of the address and displaying on the map. > > I guess what I am trying to is merge these two examples into one, but > when I try I cannot get both features to work, and as I don't really > understand javascript, I could be making many mistakes and not > knowing. > > Any advice would be greatly appreciated.
Are you trying to do something like this: http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html (note that it does not use KmlLayer, that doesn't expose the polygons, it uses geoxml3) -- Larry -- 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.
