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

Yewondwossen Assefa yassefa at dmsolutions.ca
Tue May 18 11:54:27 EST 2010


Hi there,

You might want to check 
http://docs.openlayers.org/library/deploying.html  on how to only 
include files that you want.

regards,

On 18/05/2010 12:41 PM, Orlando Solarte wrote:
>
> 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.
>
> I hope understand me.
>
> Sorry my bad english, is not my first language.
>
> Thanks!
>
> ------------------------------------------------------------------------
> Discover the new Windows Vista Learn more! 
> <http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
>
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>    


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: yassefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20100518/794df64f/attachment.htm 


More information about the MS4W-Users mailing list