~flavour/sahana-eden/trunk

« back to all changes in this revision

Viewing changes to static/scripts/gis/openlayers/lib/OpenLayers/Feature.js

  • Committer: Fran Boon
  • Date: 2012-01-21 16:10:49 UTC
  • Revision ID: fran@aidiq.com-20120121161049-u2ytuiymn1t312c6
JS upgrade: jQuery, jQueryUI, OpenLayers, Ext, GeoExt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for 
 
1
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for 
2
2
 * full list of contributors). Published under the Clear BSD license.  
3
3
 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
4
4
 * full text of the license. */
49
49
    /**
50
50
     * APIProperty: popupClass
51
51
     * {<OpenLayers.Class>} The class which will be used to instantiate
52
 
     *     a new Popup. Default is <OpenLayers.Popup.AnchoredBubble>.
 
52
     *     a new Popup. Default is <OpenLayers.Popup.Anchored>.
53
53
     */
54
54
    popupClass: null,
55
55
 
188
188
            if (!this.popup) {
189
189
                var anchor = (this.marker) ? this.marker.icon : null;
190
190
                var popupClass = this.popupClass ? 
191
 
                    this.popupClass : OpenLayers.Popup.AnchoredBubble;
 
191
                    this.popupClass : OpenLayers.Popup.Anchored;
192
192
                this.popup = new popupClass(this.id + "_popup", 
193
193
                                            this.lonlat,
194
194
                                            this.data.popupSize,