Closed (fixed)
Project:
Openlayers
Version:
7.x-2.0-beta1
Component:
OL Behaviors
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2011 at 23:59 UTC
Updated:
5 Apr 2012 at 17:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
bleedev commentedPatch for this request.
Comment #2
bleedev commentedUpdated to read collapsed instead of hide.
Comment #3
mtoscano commentedCan this patch also work on 7.x-2.0?
Comment #4
mtoscano commentedOK, I tested it and the lines of code to add are the same, but the patch should be rewritten because in the 7.x-2.0 version the files to patch are in different location and the .js looks quite different.
Comment #5
Elvar commentedHere's the changes from #2 rerolled against 7.x-2.0beta1 as well as 7.x-2.x.
Comment #7
Elvar commentedPatch was testet against branch OpenLayers - 6.x-2.0-alpha10.
The patch against 7.x-2xbeta1
Comment #8
mgiffordPatch applies to the dev version too. Just note this concern about the patch:
/DRUPAL7/sites/all/modules/openlayers/plugins/behaviors$ patch openlayers_behavior_layerswitcher.inc < openlayers-1369074-5-20beta1_0.patch
patching file openlayers_behavior_layerswitcher.inc
patching file openlayers_behavior_layerswitcher.js
patch unexpectedly ends in middle of line
Comment #9
zzolo commentedCommitted to D7:
http://drupalcode.org/project/openlayers.git/commit/8aa277f
It makes much more sense to have this as "Maximize by Default" so I changed things around a bit.