I want to create my own minified openlayers js file with only the relevant classes my app used (including some custom class).
Is there a way to know by using the full openlayers.js file which are the ones I need to include in my custom build (instead doing trial and error and start deleting files and see which breaks my app) ?
Best Answer
I've always successfully used Custom Builds Profiles to create custom OpenLayers Deployments.
There is a detailed explanation available here: Custom build Profiles
These are the steps I follow:
new OpenLayers.ClassName()
. Add these classes to the profile.