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

+1 -1
View File
@@ -14,7 +14,7 @@
position: relative; position: relative;
} }
#popup { #popup {
padding-bottom: 65px; padding-bottom: 45px;
} }
</style> </style>
</head> </head>
+1 -1
View File
@@ -37,7 +37,7 @@ var style = new ol.style.Style({
symbolizers: [ symbolizers: [
new ol.style.Icon({ new ol.style.Icon({
url: 'data/icon.png', url: 'data/icon.png',
yOffset: -32 yOffset: -22
}) })
] ]
}); });
+11 -1
View File
@@ -9,11 +9,21 @@
@exportProperty ol.geom.GeometryType.GEOMETRYCOLLECTION @exportProperty ol.geom.GeometryType.GEOMETRYCOLLECTION
@exportSymbol ol.geom.Geometry @exportSymbol ol.geom.Geometry
@exportProperty ol.geom.Geometry.prototype.getCoordinates
@exportSymbol ol.geom.Point @exportSymbol ol.geom.Point
@exportProperty ol.geom.Point.prototype.getCoordinates
@exportSymbol ol.geom.LineString @exportSymbol ol.geom.LineString
@exportProperty ol.geom.LineString.prototype.getCoordinates
@exportSymbol ol.geom.Polygon @exportSymbol ol.geom.Polygon
@exportProperty ol.geom.Polygon.prototype.getCoordinates
@exportSymbol ol.geom.MultiPoint @exportSymbol ol.geom.MultiPoint
@exportProperty ol.geom.MultiPoint.prototype.getCoordinates
@exportSymbol ol.geom.MultiLineString @exportSymbol ol.geom.MultiLineString
@exportProperty ol.geom.MultiLineString.prototype.getCoordinates
@exportSymbol ol.geom.MultiPolygon @exportSymbol ol.geom.MultiPolygon
@exportProperty ol.geom.MultiPolygon.prototype.getCoordinates