Help the compiler understand
This commit is contained in:
@@ -20,16 +20,15 @@ ol.render.replay.ORDER = [
|
||||
* @const
|
||||
* @enum {number}
|
||||
*/
|
||||
ol.render.replay.TEXT_ALIGN = {
|
||||
left: 0,
|
||||
end: 0,
|
||||
center: 0.5,
|
||||
right: 1,
|
||||
start: 1,
|
||||
top: 0,
|
||||
middle: 0.5,
|
||||
hanging: 0.2,
|
||||
alphabetic: 0.8,
|
||||
ideographic: 0.8,
|
||||
bottom: 1
|
||||
};
|
||||
ol.render.replay.TEXT_ALIGN = {};
|
||||
ol.render.replay.TEXT_ALIGN['left'] = 0;
|
||||
ol.render.replay.TEXT_ALIGN['end'] = 0;
|
||||
ol.render.replay.TEXT_ALIGN['center'] = 0.5;
|
||||
ol.render.replay.TEXT_ALIGN['right'] = 1;
|
||||
ol.render.replay.TEXT_ALIGN['start'] = 1;
|
||||
ol.render.replay.TEXT_ALIGN['top'] = 0;
|
||||
ol.render.replay.TEXT_ALIGN['middle'] = 0.5;
|
||||
ol.render.replay.TEXT_ALIGN['hanging'] = 0.2;
|
||||
ol.render.replay.TEXT_ALIGN['alphabetic'] = 0.8;
|
||||
ol.render.replay.TEXT_ALIGN['ideographic'] = 0.8;
|
||||
ol.render.replay.TEXT_ALIGN['bottom'] = 1;
|
||||
|
||||
Reference in New Issue
Block a user