Page MenuHomePhabricator

Shrink the SlippyMap Openlayers to include just the portions we need
Closed, ResolvedPublic

Description

Author: avarab

Description:
I've already included a small version of OL in trunk:

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/52903
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/52908

However I just copy-pasted the OpenStreetMap.org shrinky-config. This still includes things we don't want.

Perhaps we should generate two different shrunk OpenLayers.js files depending on whether the user requests a normal slippymap or worldwind? This might be tricky since the <script> headers would have to take into account how the extension is called in the main article text.

Then again maybe not, it might be trivial.


Version: unspecified
Severity: enhancement

Details

Reference
bz19583

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:41 PM
bzimport set Reference to bz19583.
bzimport added a subscriber: Unknown Object (MLST).

avarab wrote:

I've made it even smaller now.

There's still room for improvement but I'll file additional bugs for that.