Phil Scadden wrote
> That is done via google api (Google elevation service). 
> OpenLayers.Handler.Hover created on the map, and then a callback added 
> to "pause" which calls the elevation service. Use var lonLat = 
> this.map.getLonLatFromPixel(e.xy); to get an xy location and if 
> necessary, transform it to lat/long.
> 
> I am however also using WMSgetFeatureInfo to retrieve height info from 
> grids (eg subsurface geology) which would be another way to implement it.

cool, I'll check that and see how it goes, thanks.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/change-layer-style-on-zooming-tp5014035p5017140.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to