I wanted a more minimal control option for my maps, so I tracked down and added the basic PanZoom to the list of controls available through preset UI. I've tested this on 6.x-1.x-dev and it's working great. I'll upload patches in an update in a few minutes.

CommentFileSizeAuthor
#1 624732-1.x.patch656 bytesjerdavis
#1 624732-2.x.patch614 bytesjerdavis

Comments

jerdavis’s picture

Status: Active » Needs review
StatusFileSize
new614 bytes
new656 bytes

Attaching patches for 6.x-1.x and 6.x-2.x. I took a look at HEAD and don't have enough time at present to add this there and test, but it should be a pretty easy.

tmcw’s picture

I'll check out the 1.x patch; the 2.x patch won't be functional since 2.x doesn't handle controls in the same way as 1.x.

jerdavis’s picture

I have a basic implementation against head as well. Just failed at making a patch that included the new files. I can upload a tar ball if that's helpful.

zzolo’s picture

Status: Needs review » Fixed

Committed on 1.x branch. Thanks jer.
http://drupal.org/cvs?commit=300046

Not sure if tmcw wants to put this in HEAD. Feel free to open back up if needed.

tmcw’s picture

Status: Fixed » Active

jerdavis: if you can upload a tar of the new files, it'd be much appreciated, this is something that should be in both versions.

zzolo’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
tmcw’s picture

Component: OpenLayers Preset UI » OpenLayers API
Status: Active » Fixed

Fixed & committed in #319532.

tmcw’s picture

Status: Fixed » Closed (fixed)