[OpenLayers-Users] slimming OL

P Kishor punk.kish at gmail.com
Tue Mar 9 09:26:36 EST 2010


On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube <adube at mapgears.com> wrote:
> Hi,
>
> You could use OpenLayerer to do so :
>
> http://openlayerer.appspot.com/

Wow! This is very cool (and should be advertised more prominently). Of
course, now I have another problem -- way too many choices, and not
enough guidance to choose from them.

How about something simpler? "Make my OL similar in size and
functionality to the current version of Gmaps" kinda choice.


>
> Regards,
>
> Alexandre
>
>
> P Kishor wrote:
>>
>> From Firebug's 'Net' panel, my mixed, OpenLayers, Google Maps test page
>> shows --
>>
>> Google js
>> ----------
>> maps: 4.3 KB
>> main.js: 67.7 KB
>> vp: 661 B
>> %7Bmod_drag,mod_ctrapi%7D.js: 11.2 KB
>> vp: 660 B
>> =============
>> That totals 85 KB
>>
>> OpenLayers.js: 695.1 KB
>>
>> Why is OL almost 10 times the size of Gmaps scripts?
>>
>> If I want the functionality somewhat equivalent to what Gmaps
>> provides, can I re-build OL with fewer parts so it slims down?
>>
>> Right now OL is the largest js component of my work, more than Gmaps
>> and jQuery combined. Partly, it seems that there are many frameworks
>> layered on top of each other. OL depends on Prototype and other
>> frameworks, so even if I were using Prototype (I am not, but this is
>> just for illustration), I would still get Prototype within OL,
>> duplicating stuff.
>>
>> This is one of the reasons I don't even want to look at GeoExt, and
>> MapFish and other frameworks made from OpenLayers, instead trying to
>> accomplish my goals with just OL. From MapFish's notes, it is
>> "composed of the ExtJS, OpenLayers, GeoExt JavaScript toolkits." So
>> MapFish uses ExtJS and GeoExt and OL, and GeoExt uses ExtJS and OL,
>> and OL uses Prototype and Rico, and Rico uses Prototype. This is very
>> circular and confusing.
>>
>>
>
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com
>
>



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================



More information about the Users mailing list