[OpenLayers-Users] how do I load deprecated.js from hosted API location(http://openlayers.org/api)?
Kevin Halton
kevin_halton at hotmail.co.uk
Wed Jul 11 12:55:46 PDT 2012
> My code had loaded a KML data set using Layer.GML with a
> OpenLayers.Format.KML format. What's the proper way to display a KML
> layer in 2.12?
I'm in exactly the same boat. I've tried using the online deprecated.js file, but as you say it's not there. I tried extracting it from the 2.12.tar.gz, but it's not there either. Finally I managed to download it from github, and it does get rid of the "OpenLayers.Layer.GML is not a constructor" error message, but it doesn't show my KML track any more either.
I've tried using a local copy of 2.11's OpenLayers.js, without success. And I've gone through all the online examples looking for an example of showing a _track_ line (not just waypoints) from a KML file, again without success.
Are there any instructions anywhere of how to cope with this ? It's just a few lines of layer definition which worked fine until this upgrade.
More information about the Users
mailing list