FacilMap/Version 1/API/Migration guide from cdauth’s map
The old API files will continue to be hosted on http://osm.cdauth.eu/ until they don’t seem to be used anymore. They will not be updated however. The map on http://osm.cdauth.eu/map/ redirects to the new URL http://facilmap.org/. The old Git repositories will stay in place but with a notice that they have been moved.
- The old classes used the same class structure as OpenLayers but had a “cdauth” somewhere in the class name. The class extending OpenLayers.Map was called OpenLayers.Map.cdauth, the class extending OpenLayers.Layer.OSM.Mapnik was called OpenLayers.Layer.cdauth.OSM.Mapnik. The “cdauth” part was removed from the class names and the classes are now part of an object called FacilMap that has the same structure as the OpenLayers object. The two example class names are now FacilMap.Map and FacilMap.Layer.OSM.Mapnik.
Those who hosted an own instance of cdauth’s map need to consider the following changes.
- The API itself is now in a separate repository from the map itself (that relies on the API). See http://gitorious.org/facilmap/api for the Git URLs for the API repository and http://gitorious.org/facilmap/facilmap_org for the map that runs on http://facilmap.org/.