deprecate AnchoredBubble
This commit is contained in:
@@ -6,11 +6,14 @@
|
||||
|
||||
/**
|
||||
* @requires OpenLayers/Popup/Anchored.js
|
||||
* @requires OpenLayers/Console.js
|
||||
* @requires Rico/Corner.js
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class: OpenLayers.Popup.AnchoredBubble
|
||||
* This class is *deprecated*. Use {<OpenLayers.Popup.Anchored>} and
|
||||
* round corners using CSS3's border-radius property.
|
||||
*
|
||||
* Inherits from:
|
||||
* - <OpenLayers.Popup.Anchored>
|
||||
@@ -40,6 +43,8 @@ OpenLayers.Popup.AnchoredBubble =
|
||||
*/
|
||||
initialize:function(id, lonlat, contentSize, contentHTML, anchor, closeBox,
|
||||
closeBoxCallback) {
|
||||
|
||||
OpenLayers.Console.warn('AnchoredBubble is deprecated');
|
||||
|
||||
this.padding = new OpenLayers.Bounds(
|
||||
0, OpenLayers.Popup.AnchoredBubble.CORNER_SIZE,
|
||||
|
||||
Reference in New Issue
Block a user