Merge pull request #936 from tschaub/geom-exports

Proper geometry exports.
This commit is contained in:
Tim Schaub
2013-08-28 11:40:14 -07:00
4 changed files with 13 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -14,7 +14,7 @@
position: relative;
}
#popup {
padding-bottom: 65px;
padding-bottom: 45px;
}
</style>
</head>

View File

@@ -37,7 +37,7 @@ var style = new ol.style.Style({
symbolizers: [
new ol.style.Icon({
url: 'data/icon.png',
yOffset: -32
yOffset: -22
})
]
});

View File

@@ -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