[OpenLayers-Users] Custom Build: browserNotSupported?

Andreas Hocevar ahocevar at opengeo.org
Thu Jul 14 06:16:50 EDT 2011


Hi,

in addition to Layer.Vector, you need to add vector renderers to your
build profile, e.g.

OpenLayers/Renderer/SVG.js
OpenLayers/Renderer/VML.js
OpenLayers/Renderer/Canvas.js

Andreas.

On Thu, Jul 14, 2011 at 4:42 AM, Michael <mdm at yachtpc.com> wrote:
> Okay, I am delving deeper into OL awesomeness.  I am just starting with the
> "build" process.  I am using OL 2.11-RC
>
> My page, and the example pages, hosted on my site work fine with the
> distributed build, and also with the "full" build.
>
> However, when I do my custom (adding on the lite.cfg with all the OpenLayers
> modules that throw an error added back in), I end up with a popup saying
> "browserNotSupported"
>
> This happens whether I use FF or IE, and Safari too.
>
> Clearly, I need to add in another module... or more... but which?  Since it
> works with a full build, this seems to be a configuration issue, not a code
> bug, but a suggestion would be nice
>
> Michael
>
>
>
> ps:
> My page is the attribution.html example.
>
> My includes are as follows:
>
>
> [include]
> OpenLayers/Map.js
> OpenLayers/Layer/WMS.js
> OpenLayers/Layer/Vector.js
> OpenLayers/Control/LayerSwitcher.js
> OpenLayers/Control/Attribution.js
> OpenLayers/Control/Navigation.js
> OpenLayers/Control/PanZoom.js
> OpenLayers/Control/ArgParser.js
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list