[MS4W-Users] FW: How to Load only Necesary Javascript on OpenLayers

Kralidis,Tom [Ontario] Tom.Kralidis at ec.gc.ca
Tue May 18 11:59:34 EST 2010


> -----Original Message-----
> From: ms4w-users-bounces at lists.maptools.org 
> [mailto:ms4w-users-bounces at lists.maptools.org] On Behalf Of 
> Orlando Solarte
> Sent: Tuesday, 18 May 2010 12:53
> To: ms4w
> Subject: [MS4W-Users] FW: How to Load only Necesary 
> Javascript on OpenLayers
> 
> 
> 
> Hi!
>  
> I am developing GIS aplication using Open layers. I have a 
> map wit one Google's layer and WFS Layer. 
>  
> I am having troubles, because load all extensions OpenLayers 
> (WMSCapabilities.js, Text.js, GeoJSason.js, ectetera, gpx.js, 
> etcera), so my page load is aprox 6Megabytes!.  I am not use 
> all extensions, only  WFS.js.
>  
> So, Is there some way to load only necesary javascript?, in 
> this case only WFS.js, OpenLayers.j.


You might want to ask the openlayers-users list.  As it happens, here's
a timely blogpost with info:
http://linfiniti.com/2010/05/slimming-down-openlayers/

..Tom


More information about the MS4W-Users mailing list