MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / ev

Method ev

src/common/style/CartoCSS.js:4555–4575  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

4553 }
4554
4555 ev(env) {
4556 if (this._css) {return this._css;}
4557
4558 var thisframe = env.frames.filter(function (f) {
4559 return f.name === this.name;
4560 }.bind(this));
4561 if (thisframe.length) {
4562 return thisframe[0].value.ev(env);
4563 } else {
4564 env.error({
4565 message: 'variable ' + this.name + ' is undefined',
4566 index: this.index,
4567 type: 'runtime',
4568 filename: this.filename
4569 });
4570 return {
4571 is: 'undefined',
4572 value: 'undefined'
4573 };
4574 }
4575 }
4576};
4577
4578CartoCSS.Tree.Zoom = class Zoom {

Callers

nothing calls this directly

Calls 3

filterMethod · 0.80
bindMethod · 0.80
evMethod · 0.45

Tested by

no test coverage detected