GeoView : add openlayers infobubble capabilities.
svn: r16270
This commit is contained in:
parent
3de630b8af
commit
d8b2c111e0
@ -507,7 +507,20 @@ mxn.register('openlayers', {
|
||||
},
|
||||
|
||||
openBubble: function() {
|
||||
// TODO: Add provider code
|
||||
if ( this.infoBubble ) {
|
||||
// Need to create a new popup in case setInfoBubble has been called
|
||||
this.popup = new OpenLayers.Popup.FramedCloud(null,
|
||||
this.location.toProprietary("openlayers"),
|
||||
new OpenLayers.Size(100,100),
|
||||
this.infoBubble,
|
||||
this.icon,
|
||||
true
|
||||
);
|
||||
}
|
||||
|
||||
if ( this.popup ) {
|
||||
this.map.addPopup( this.popup, true );
|
||||
}
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user