On Jan 3, 11:39 am, sam <[email protected]> wrote: > I have an app that uses V2 of the API (http://www.treksee.com). I'd like to > upgrade to V3. > > In the center of the map I display a crosshair. This is implemented with the > GScreenOverlay object. The crosshair is fixed in the center of the viewport > and allows mouse events through to the underlying map. For example, a click > on the crosshair will register with the underlying map's event handler and > display a marker. > > How can I implement this functionality in V3 which lacks the GScreenOverlay > object?
KmlLayer will work. The KML_Samples.kml example has a crosshair in the middle of the map. (there may be another way as well) http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=http://www.geocodezip.com/geoxml3_test/KML_Samples.xml (click on "hide" to hide the stuff displayed by geoxml3, then click on load kmlLayer to see what it displays) -- Larry > > Thanks. -- 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.
