[OpenLayers-Trac] [OpenLayers] #1489: Permalink Changes

OpenLayers trac at openlayers.org
Thu Apr 3 16:22:25 EDT 2008


#1489: Permalink Changes
----------------------+-----------------------------------------------------
 Reporter:  tcoulter  |       Owner:         
     Type:  feature   |      Status:  new    
 Priority:  minor     |   Milestone:         
Component:  general   |     Version:  2.6 RC1
 Keywords:            |       State:         
----------------------+-----------------------------------------------------
 I've been working with permalinks at TOPP, and I've made some changes to
 the permalink control in order to support custom permalinking.

 The highlights:
 1) Made the required arg parser class configurable, to allow for custom
 arg parsers.
 2) Decoupled the setting of the link (this.element.href = "...") from
 creating the url. This way, custom controls/applications can easily poll
 the permalink control for the link without having to know the
 idiosyncrasies of the DOM element used to store the value.

 I've attached a patch with our changes.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1489>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list