Replace subtractViewRotation with rotateWithMap
This commit is contained in:
@@ -96,6 +96,12 @@ ol.style.Icon = function(opt_options) {
|
||||
*/
|
||||
var opacity = goog.isDef(options.opacity) ? options.opacity : 1;
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
var rotateWithMap = goog.isDef(options.rotateWithMap) ?
|
||||
options.rotateWithMap : false;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
*/
|
||||
@@ -111,7 +117,7 @@ ol.style.Icon = function(opt_options) {
|
||||
rotation: rotation,
|
||||
scale: scale,
|
||||
snapToPixel: undefined,
|
||||
subtractViewRotation: false
|
||||
rotateWithMap: rotateWithMap
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user