[OpenLayers-Dev] OpenLayers.Rule not a constructor with OpenLayers.mobile
Matt Priour
mpriour at kestrelcomputer.com
Tue Jul 10 09:16:25 PDT 2012
That is because OpenLayers.mobile.js does not include the OpenLayers.Rule
class.
You'll need to build your own version of OpenLayers to support this.
http://docs.openlayers.org/library/deploying.html
http://trac.osgeo.org/openlayers/wiki/Profiles
Start with the mobile.cfg profile. Simply add the OpenLayers/Rule.js file to
the [include] list, save the .cfg file with a new name and build OpenLayers
using the new cfg file you just created.
Matt Priour
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/OpenLayers-Rule-not-a-constructor-with-OpenLayers-mobile-tp4986010p4987366.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev
mailing list