Commit Graph

1732 Commits

Author SHA1 Message Date
Tom Payne
79ade07fb7 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-17 12:55:36 +01:00
Tom Payne
45ea10ede2 Remove complex-geometry example 2013-12-17 12:03:59 +01:00
Tom Payne
d80c327515 Add IGC example 2013-12-17 12:03:59 +01:00
Éric Lemoine
60ea9d5826 Remove View2D typecasts in geolocation example 2013-12-17 10:32:18 +01:00
Éric Lemoine
6533aa4aba Remove View2D typecasts in bind-input example 2013-12-17 10:32:08 +01:00
Tom Payne
50e5ffc8d6 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-16 14:28:12 +01:00
Tom Payne
ec1ee5538a Add collinsBart and ordnanceSurvery styles to bing-maps example 2013-12-16 14:07:11 +01:00
Tom Payne
58fc453378 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-16 13:37:11 +01:00
Tom Payne
0ddcfb694b Set zoom in vector-layer example to match master 2013-12-16 12:29:57 +01:00
Tom Payne
ae7d5ab9d5 Merge pull request #1351 from twpayne/openseamap
Add crossOrigin option to ol.source.OSM options
2013-12-13 13:18:08 -08:00
Tom Payne
aa10a542ae Add OpenSeaMap layer to localized-openstreetmap example 2013-12-13 22:05:08 +01:00
Tom Payne
b59eec7a83 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-13 20:22:06 +01:00
Tom Payne
fdbb9f8d9e Fix type errors in vector-layer-sld example 2013-12-13 19:30:11 +01:00
Tom Payne
4470480dc9 Improve use of view in device-orientation example 2013-12-13 19:27:52 +01:00
Tom Payne
e96d56215b Add typecasts so examples compile 2013-12-13 19:16:05 +01:00
Tim Schaub
0ed59f7be3 Merge pull request #1348 from tschaub/beforechange
Add `ol.ObjectEvent` for changes to `ol.Object` properties.  Previously, `ol.Object` dispatched instances of `goog.events.Event` with type `change`.  Now `ol.ObjectEvent` instances will be dispatched on property changes.  The events include a `getKey` method to get the name of the property being changed.  The `beforepropertychange` type event is fired before a property value changes, and the `propertychange` type event fires after the property value changes.
2013-12-13 07:28:36 -08:00
Éric Lemoine
12c96510c1 Use olx options ns in icon and geojson examples 2013-12-13 13:43:51 +01:00
Tim Schaub
20d74810ab Export a getKey method on ol.ObjectEvent 2013-12-12 16:59:34 -07:00
Bart van den Eijnden
15eec2959c use official EPSG code 2013-12-12 17:02:15 +01:00
Bart van den Eijnden
069f6cce1a remove projection on vector source 2013-12-12 16:54:38 +01:00
Bart van den Eijnden
e7fe809227 now that the data option was removed, parse features manually 2013-12-12 16:02:06 +01:00
Tim Schaub
c8985b9906 Using unique event type values for distinct events
Any event target can be used to dispatch generic goog.events.Event instances with an arbitrary type.  In cases where we dispatch custom events, we should not use type values that collide with those used for generic events (at least internally).  This allows listeners a better chance of knowing what kind of argument they will receive.

As subsequent change will clean up the enumeration and add a bit more consistency.
2013-12-11 16:53:52 -07:00
Tom Payne
a03bf6d447 Add GeometryCollection to geojson example 2013-12-11 17:52:24 +01:00
Tom Payne
0943bbf070 Don't use postcompose in geojson example 2013-12-11 17:52:24 +01:00
Tom Payne
7b3721fa3f Use ol.source.GeoJSON in complex-geometry example 2013-12-11 14:14:33 +01:00
Tom Payne
b31385fcb6 Use ol.source.GeoJSON in vector-layer example 2013-12-11 14:14:33 +01:00
Tom Payne
a814dd11ca Use ol.source.GeoJSON in icon example 2013-12-11 14:14:33 +01:00
Tom Payne
94d392c0c6 Use ol.source.GeoJSON in geojson example 2013-12-11 14:14:33 +01:00
Tim Schaub
3e905d804c Merge pull request #1335 from tschaub/geometry-type
Change geometry type enum and mark as stable.
2013-12-10 08:50:54 -08:00
Tom Payne
514ebb752b Use ol.format.GeoJSON in icon example 2013-12-10 15:35:50 +01:00
Tom Payne
0941f06c0b Use ol.format.GeoJSON in geojson example 2013-12-10 15:35:50 +01:00
Tom Payne
ed5b8b6512 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-10 12:54:27 +01:00
Tom Payne
5e710b4e57 Add snapping to synthetic points example (to be removed) 2013-12-09 16:40:54 +01:00
Tom Payne
d0d36193a7 Have some fun in the complex-geometry example 2013-12-09 16:40:54 +01:00
Frederic Junod
02cee684a7 Remove trailing zeros in mtbland.geojson 2013-12-09 16:37:33 +01:00
Tom Payne
90738d559a Add complex-geometry example 2013-12-09 16:37:33 +01:00
Tom Payne
43e4292ec9 Tidy up ol.source.MapGuide and add ratio option 2013-12-06 18:11:01 +01:00
Tom Payne
0a5cc8812c Merge pull request #1236 from jumpinjackie/master
MapGuide untiled map support
2013-12-06 08:59:57 -08:00
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
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
5acc673c68 Add layer to forEachFeatureAtPixel callbacks in examples 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
É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
e358321b92 The iRender draw functions are passed a data object 2013-12-02 15:06:18 +01:00