Tim Schaub
2f7fa8f442
Using PascalCase for geometry enum values
...
This adds a bit more inconsistency to the library, but we didn't have complete consistency before. Almost all existing string enum values are lowercase (a couple are camelCase and one is dash-separated). The closure library isn't consistent either (with case for enum properties or values). I imagine this could be justified in saying someone could blindly use GeoJSON type values in places, but in the end, you'll need to read the docs before guessing right.
2013-12-05 14:40:26 -07:00
Tim Schaub
4ee9605d61
Using CONSTANT_CASE for geometry type
2013-12-05 14:00:04 -07:00
Tim Schaub
162b245d7c
ol.Object extends ol.Observable
2013-12-05 12:28:33 -07:00
Tim Schaub
3dc40f8cb6
Add ol.Observable for on, once, un, and unByKey methods
2013-12-05 12:27:30 -07:00
Bart van den Eijnden
9b1918c75c
Add missing files needed for ol.parser tests
2013-12-05 18:14:15 +01:00
oterral
bd560bfb0f
Add WMS GetCapabilties parser
2013-12-05 16:57:33 +01:00
Tom Payne
1dd5f7f7c8
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-05 16:53:04 +01:00
Tom Payne
fac8936688
Merge pull request #1333 from twpayne/object-get-properties
...
Add ol.Object#getProperties
2013-12-05 07:40:32 -08:00
Tom Payne
7ae7c8e41e
Merge pull request #1334 from twpayne/build-check
...
Don't build ol.css in check target
2013-12-05 07:40:13 -08:00
Tom Payne
dfdec96ba7
Export ol.Object#getProperties
2013-12-05 16:32:41 +01:00
Tom Payne
82fa4861e7
Allow ol.geom.LinearRings to have null coordinates and add setFlatCoordinates
2013-12-05 16:23:56 +01:00
Tom Payne
72cf6e03cd
Add ol.Object#getProperties
2013-12-05 16:23:56 +01:00
Frederic Junod
3d4199193f
Allow ol.Feature to be constructed with no argument
2013-12-05 16:15:08 +01:00
Tom Payne
d9c94c7012
Don't build ol.css in check target
2013-12-05 13:12:39 +01:00
Tom Payne
f795adcd56
Add ol.Object#getProperties
2013-12-04 19:19:51 +01:00
Tom Payne
057cda42be
Rename ol.geom.Type to ol.geom.GeometryType
2013-12-04 16:28:36 +01:00
Tom Payne
c2228b1d19
Rename ol.geom.Layout to ol.geom.GeometryLayout
2013-12-04 16:27:03 +01:00
Tom Payne
600cb3a0ff
Add @struct annotation where possible
2013-12-04 16:07:39 +01:00
Tom Payne
bcda3aa3c2
Merge pull request #1331 from twpayne/rbush-is-empty
...
Add ol.structs.RBush#isEmpty
2013-12-04 06:26:41 -08:00
Tom Payne
2be40a1ae6
Add ol.structs.RBush#isEmpty
2013-12-04 15:05:43 +01:00
Tom Payne
aa0a02b935
Enable remaining ol.source.Vector tests
2013-12-04 15:03:20 +01:00
Tom Payne
79c6787e52
Add ol.source.Vector#clear
2013-12-04 14:59:30 +01:00
Tom Payne
ae3ab95b56
Factor out ol.source.Vector#removeFeatureInternal_
2013-12-04 14:59:18 +01:00
Tom Payne
66457a7aaf
Add ol.source.Vector#isEmpty
2013-12-04 14:49:25 +01:00
Tom Payne
d5e5749967
Add ol.structs.RBush#isEmpty
2013-12-04 14:48:21 +01:00
Tom Payne
b64e899b92
Merge pull request #1330 from twpayne/fail-if-major-performance-caveat
...
Don't use WebGL if there as a major performance caveat
2013-12-04 04:58:46 -08:00
Tom Payne
0d3583bd8d
Improve type checking in WebGL support test
2013-12-04 11:59:29 +01:00
Tom Payne
d6dc1a2c6f
Don't use WebGL if there is a major performance caveat
2013-12-04 11:58:05 +01:00
Tom Payne
a836d6924d
Add FIXME
2013-12-04 00:05:45 +01:00
Tom Payne
9d57b53c0f
Add optional layerFunction to ol.Map#forEachFeatureAtPixel
2013-12-04 00:05:45 +01:00
Tom Payne
5acc673c68
Add layer to forEachFeatureAtPixel callbacks in examples
2013-12-04 00:05:45 +01:00
Tom Payne
e9267e401c
Pass layer to forEachFeatureAtPixel callback
2013-12-04 00:05:45 +01:00
Tom Payne
f1a9f76841
Break out of forEachFeatureAtPixel as soon as hit detected in vector-layer example
2013-12-04 00:05:45 +01:00
Tom Payne
41811e6566
Break out of forEachFeatureAtPixel as soon as hit detected in synthetic-points example
2013-12-04 00:05:45 +01:00
Tom Payne
15fd9f7662
Break out of forEachFeatureAtPixel as soon as hit detected in icon example
2013-12-04 00:05:44 +01:00
Tom Payne
d7591594ca
Allow forEachFeatureAtPixel callback to break out of loop
2013-12-04 00:05:44 +01:00
Tom Payne
1a9d19a2fb
Allow geometries to have null coordinates and add setFlatCoordinates
2013-12-03 19:58:34 +01:00
Tom Payne
580f7d2022
Ensure endss is truncated if needed in ol.geom.flat.deflateCoordinatesss
2013-12-03 19:43:00 +01:00
Tom Payne
b06ef0290c
Add ol.geom.flat.deflateCoordinate
2013-12-03 16:53:23 +01:00
Tom Payne
27982ec5e7
Factor out ol.geom.Geometry.getStrideForLayout_
2013-12-03 15:44:44 +01:00
Tom Payne
0477101c28
Factor out ol.geom.Geometry.getLayoutForStride_
2013-12-03 15:44:25 +01:00
Bart van den Eijnden
10db521898
Merge pull request #1329 from bartvde/gpx-trkpt
...
Add GPX tracks example
2013-12-02 10:03:46 -08:00
Tom Payne
191b6fd051
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-02 17:51:21 +01:00
Éric Lemoine
c904ca1d90
Merge pull request #1327 from oterral/fix_galaxytab
...
Fix map navigation on some android native browsers
2013-12-02 07:16:17 -08:00
Éric Lemoine
6b9bc9d8e8
Use hit detection in vector-layer example
...
The hit detection code doesn't correctly play well with the skiping of geometries using the renderGeometryFunction. Features/geometries that are not rendered by the replay API are not detected by the hit detection mechanism. For that reason, until we find a solution, we don't use renderGeometryFunction in the vector-layer example.
2013-12-02 15:06:19 +01:00
Éric Lemoine
24e7a81ae5
Detect when mouse is over marker in icon example
2013-12-02 15:06:19 +01:00
Éric Lemoine
53ecc8edb6
Add popup back to icon example
2013-12-02 15:06:19 +01:00
Éric Lemoine
a1e1393f44
Add hit detection to synthetic-points example
2013-12-02 15:06:19 +01:00
Éric Lemoine
374d5f99f6
Add ol.Map#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00
Éric Lemoine
6f423726a9
Add ol.renderer.Map#forEachFeatureAtPixel
2013-12-02 15:06:19 +01:00