<HTML><HEAD>
<META content="text/html; charset=iso-8859-15" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16490"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>You will need to determine what functionality you need from OpenLayers first. By using custom builds (build.py) I've been able to shrink my OL file down to 336 KB (without compression). I am sure others have gotten it smaller, but this is the size that I need in order to do what I want with OL.<BR></DIV>
<DIV>This page helped me:</DIV>
<DIV><A href="http://trac.openlayers.org/wiki/Profiles">http://trac.openlayers.org/wiki/Profiles</A> or this <A href="http://docs.openlayers.org/library/deploying.html#building-the-single-file-build">http://docs.openlayers.org/library/deploying.html#building-the-single-file-build</A> and I am sure there are more. The OpenLayerer looks pretty simple once you've figured out what functionality you'll need.</DIV>
<DIV> </DIV>
<DIV>Shawn</DIV>
<DIV><BR>>>> On 3/9/2010 at 9:26 AM, P Kishor <punk.kish@gmail.com> wrote:<BR></DIV>
<DIV style="BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3; MARGIN: 0px 0px 0px 15px; PADDING-LEFT: 7px">On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube <adube@mapgears.com> wrote:<BR>> Hi,<BR>><BR>> You could use OpenLayerer to do so :<BR>><BR>> <A href="http://openlayerer.appspot.com/">http://openlayerer.appspot.com/</A><BR><BR>Wow! This is very cool (and should be advertised more prominently). Of<BR>course, now I have another problem -- way too many choices, and not<BR>enough guidance to choose from them.<BR><BR>How about something simpler? "Make my OL similar in size and<BR>functionality to the current version of Gmaps" kinda choice.<BR><BR><BR>><BR>> Regards,<BR>><BR>> Alexandre<BR>><BR>><BR>> P Kishor wrote:<BR>>><BR>>> From Firebug's 'Net' panel, my mixed, OpenLayers, Google Maps test page<BR>>> shows --<BR>>><BR>>> Google js<BR>>> ----------<BR>>> maps: 4.3 KB<BR>>> main.js: 67.7 KB<BR>>> vp: 661 B<BR>>> %7Bmod_drag,mod_ctrapi%7D.js: 11.2 KB<BR>>> vp: 660 B<BR>>> =============<BR>>> That totals 85 KB<BR>>><BR>>> OpenLayers.js: 695.1 KB<BR>>><BR>>> Why is OL almost 10 times the size of Gmaps scripts?<BR>>><BR>>> If I want the functionality somewhat equivalent to what Gmaps<BR>>> provides, can I re-build OL with fewer parts so it slims down?<BR>>><BR>>> Right now OL is the largest js component of my work, more than Gmaps<BR>>> and jQuery combined. Partly, it seems that there are many frameworks<BR>>> layered on top of each other. OL depends on Prototype and other<BR>>> frameworks, so even if I were using Prototype (I am not, but this is<BR>>> just for illustration), I would still get Prototype within OL,<BR>>> duplicating stuff.<BR>>><BR>>> This is one of the reasons I don't even want to look at GeoExt, and<BR>>> MapFish and other frameworks made from OpenLayers, instead trying to<BR>>> accomplish my goals with just OL. From MapFish's notes, it is<BR>>> "composed of the ExtJS, OpenLayers, GeoExt JavaScript toolkits." So<BR>>> MapFish uses ExtJS and GeoExt and OL, and GeoExt uses ExtJS and OL,<BR>>> and OL uses Prototype and Rico, and Rico uses Prototype. This is very<BR>>> circular and confusing.<BR>>><BR>>><BR>><BR>><BR>> --<BR>> Alexandre Dubé<BR>> Mapgears<BR>> www.mapgears.com<BR>><BR>><BR><BR><BR><BR>-- <BR>Puneet Kishor <A href="http://www.punkish.org">http://www.punkish.org</A><BR>Carbon Model <A href="http://carbonmodel.org">http://carbonmodel.org</A><BR>Charter Member, Open Source Geospatial Foundation <A href="http://www.osgeo.org">http://www.osgeo.org</A><BR>Science Commons Fellow, <A href="http://sciencecommons.org/about/whoweare/kishor">http://sciencecommons.org/about/whoweare/kishor</A><BR>Nelson Institute, UW-Madison <A href="http://www.nelson.wisc.edu">http://www.nelson.wisc.edu</A><BR>-----------------------------------------------------------------------<BR>Assertions are politics; backing up assertions with evidence is science<BR>=======================================================================<BR>_______________________________________________<BR>Users mailing list<BR>Users@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR></DIV></BODY></HTML>