Indicia-Team / media

Shared library of JavaScript code,
0 stars 2 forks source link

Inconsistent Openlayers libraries #21

Open Gary-van-Breda opened 5 years ago

Gary-van-Breda commented 5 years ago

I know OL2 is very old hat at this point, but... The contents of the Openlayers JS variants are inconsistent: e.g. the debug and min versions contain OpenLayers.Layer.TileCache, but the normal one does not.

johnvanbreda commented 5 years ago

Agreed but I think that's always been the way. The main version was built using the OL deployment builder with only the standard classes used by Indicia at the time. So if you want a full version you need to use another file. I'm not sure this is worth revisiting at this point?

Gary-van-Breda commented 5 years ago

OpenLayers.Layer.TileCache is used by jquery.indiciaMapPanel.js, and the helper_base.php points to OpenLayers.js (without the OpenLayers.Layer.TileCache): perhaps helper_base should use OpenLayers-min instead?