Merge pull request #936 from tschaub/geom-exports
Proper geometry exports.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -14,7 +14,7 @@
|
||||
position: relative;
|
||||
}
|
||||
#popup {
|
||||
padding-bottom: 65px;
|
||||
padding-bottom: 45px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -37,7 +37,7 @@ var style = new ol.style.Style({
|
||||
symbolizers: [
|
||||
new ol.style.Icon({
|
||||
url: 'data/icon.png',
|
||||
yOffset: -32
|
||||
yOffset: -22
|
||||
})
|
||||
]
|
||||
});
|
||||
|
||||
@@ -9,11 +9,21 @@
|
||||
@exportProperty ol.geom.GeometryType.GEOMETRYCOLLECTION
|
||||
|
||||
@exportSymbol ol.geom.Geometry
|
||||
@exportProperty ol.geom.Geometry.prototype.getCoordinates
|
||||
|
||||
@exportSymbol ol.geom.Point
|
||||
@exportProperty ol.geom.Point.prototype.getCoordinates
|
||||
|
||||
@exportSymbol ol.geom.LineString
|
||||
@exportProperty ol.geom.LineString.prototype.getCoordinates
|
||||
|
||||
@exportSymbol ol.geom.Polygon
|
||||
@exportProperty ol.geom.Polygon.prototype.getCoordinates
|
||||
|
||||
@exportSymbol ol.geom.MultiPoint
|
||||
@exportProperty ol.geom.MultiPoint.prototype.getCoordinates
|
||||
|
||||
@exportSymbol ol.geom.MultiLineString
|
||||
@exportProperty ol.geom.MultiLineString.prototype.getCoordinates
|
||||
|
||||
@exportSymbol ol.geom.MultiPolygon
|
||||
@exportProperty ol.geom.MultiPolygon.prototype.getCoordinates
|
||||
|
||||
Reference in New Issue
Block a user