it means that the OSM layer is not included in the version of OpenLayers that you are using.
If you are using a single file build, it probably just wasn't included when you made it. Just add OpenLayers/Layer/OSM.js to your build file and rebuild. It could also be an older version of OpenLayers that doesn't include the OSM layer type. Upgrade to a version that does. Cheers Paul On 19-Jul-09, at 4:49 PM, mikani wrote: > > OpenLayers.Layer.OSM is not a constructor > What does this error mean? > -- > View this message in context: > http://n2.nabble.com/OpenLayers.Layer.OSM-is-not-a-constructor-tp3285757p3285757.html > Sent from the OpenLayers Dev mailing list archive at Nabble.com. > _______________________________________________ > Dev mailing list > Dev@openlayers.org > http://openlayers.org/mailman/listinfo/dev __________________________________________ Paul Spencer Chief Technology Officer DM Solutions Group Inc http://research.dmsolutions.ca/ _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev