Commit Graph

1855 Commits

Author SHA1 Message Date
Tom Payne eb01c72b55 Add projection to igc example 2014-02-06 16:48:52 +01:00
Éric Lemoine e0db06c39a Merge pull request #1648 from elemoine/1648
Vector examples are broken
2014-02-06 12:25:24 +01:00
Éric Lemoine 95bef8d7d2 Fix vector examples 2014-02-06 10:40:09 +01:00
ahocevar 43e42d959d Merge pull request #1647 from openlayers/style-
Create styles only once
2014-02-06 08:28:43 +01:00
ahocevar a4101d52cf Create styles only once 2014-02-06 05:47:34 +01:00
Tim Schaub 336ee808de The examples don't provide information on classes used 2014-02-05 20:17:50 -07:00
ahocevar 0fa60fc0c6 Updating example to use the new vector API 2014-02-05 18:55:55 +01:00
ahocevar 6aef5eed74 Example for obtaining a Google base map
By simply defining the ol3 map as control on a GMaps map, we can
have a Google base map with arbitrary ol3 content on top. This
works with all ol3 renderers.
2014-02-05 17:59:00 +01:00
Tim Schaub c038c0cb06 Merge pull request #1640 from tschaub/reproject
Use projection option instead of reprojectTo for vector file sources.  The projection of the vector source represents the projection of the cached features.
2014-02-04 17:07:59 -08:00
Frederic Junod 0377df5e06 Use evt.coordinate instead of evt.getCoordinate() 2014-02-04 15:31:03 +01:00
Tim Schaub d2cd0808a8 Use projection option instead of reprojectTo
The projection option for vector file sources currently has no good meaning.  The reprojectTo option is used to set the projection for cached features.  This change makes it so the projection option is used for this purpose.  The getProjection method (not currently exported) can then be used to get the cached feature projection.

This also removes the default of 'EPSG:3857' for vector file sources.  If a projection is not configured, features will not be transformed.
2014-02-03 18:13:25 -07:00
Tom Payne 1f4ab82210 Highlight text in vector-layer example 2014-02-03 16:17:52 +01:00
Tom Payne 81eed8ea01 Add text to vector-layer example 2014-02-03 15:49:06 +01:00
Tom Payne 21e960d6a5 Merge pull request #1613 from twpayne/select-interaction
Port ol.interaction.Select
2014-01-29 06:32:33 -08:00
Tom Payne d4db171a3c Merge pull request #1588 from twpayne/event-properties
Use properties, not get* methods, in events
2014-01-29 06:23:30 -08:00
Tom Payne d36fcc1f69 Add select-features example 2014-01-29 15:12:53 +01:00
Tom Payne 318fc68159 Convert ol.MapBrowserEvent#get* methods into properties 2014-01-29 14:51:27 +01:00
Tom Payne b674bfc55c Show ol3 logo in simple example 2014-01-28 14:38:19 +01:00
Tom Payne df0912bdd3 Convert ol.render.Event#get* methods into properties 2014-01-27 15:54:00 +01:00
Tom Payne 37351c530c Convert ol.ObjectEvent#getKey method into key property 2014-01-27 15:53:58 +01:00
Tom Payne 45350a34ed Convert ol.interaction.DragAndDropEvent#get* methods into properties 2014-01-27 15:52:03 +01:00
Tom Payne 81962f4860 Move countries.sld into sld subdirectory 2014-01-23 03:31:30 +01:00
Tom Payne 3aaa0dd0f7 Move us.json into topojson subdirectory 2014-01-23 03:30:14 +01:00
Tom Payne 777fc2f961 Move countries.geojson into geojson subdirectory 2014-01-23 03:28:53 +01:00
Tom Payne de8ebfc342 Remove old kml example data 2014-01-23 03:26:59 +01:00
Tom Payne e77a5b61d5 Add drag-and-drop-image-vector example 2014-01-22 17:26:48 +01:00
Tom Payne b2dc097650 Use ol.interaction.DragAndDrop addfeatures event in drag-and-drop example 2014-01-22 17:26:47 +01:00
Frederic Junod ff4b85811d Minor draw-features cleanup 2014-01-22 14:12:32 +01:00
oterral 1333c733e0 Fix drawinteraction example 2014-01-21 15:58:42 +01:00
Éric Lemoine 646dd18149 Merge pull request #1547 from elemoine/gfi
Add getGetFeatureInfoUrl methods to ImageWMS and TileWMS sources
2014-01-20 05:22:40 -08:00
Tom Payne 6171ed7cdf Display interpolated time in igc example 2014-01-20 11:23:19 +01:00
Éric Lemoine 8d60faeab7 Add GetFeatureInfo example 2014-01-19 21:52:28 +01:00
Tom Payne 3ae526efc5 Merge pull request #1541 from twpayne/vector-api-gpx
[vector-api] Add ol.format.GPX
2014-01-17 07:39:56 -08:00
Tom Payne c2c8a9ed18 Add TopoJSON to drag-and-drop-example 2014-01-16 22:44:19 +01:00
Tom Payne 6c3c8332d9 Add GeoJSON to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne 27fed257ff Add IGC files to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne ee91a99056 Add GPX files to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne 729be27662 Add default style function to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne 7fc274c750 Remove old gpx example data 2014-01-16 22:44:18 +01:00
Tom Payne e65ce68e03 Add gpx example 2014-01-16 22:44:18 +01:00
Tom Payne 94ba7e807e Fix typo in kml example 2014-01-16 20:30:56 +01:00
Tom Payne a83df1ee30 Merge pull request #1527 from twpayne/vector-api-example-html
[vector-api] Avoid 404 in hosted examples
2014-01-16 09:14:33 -08:00
Tom Payne bb758c7ee9 Merge pull request #1533 from twpayne/vector-api-tile-hidpi
[vector-api] HiDPI support for tile layers
2014-01-16 06:55:54 -08:00
Antoine Abt 58d90e31ff Better styling in example 2014-01-16 10:25:20 +01:00
Antoine Abt a69f62e238 Add TopoJSON source & use it in example 2014-01-16 10:25:18 +01:00
Antoine Abt 000e9ad82d Bring topojson examples back 2014-01-16 10:25:18 +01:00
Tom Payne 2ccec58878 Activate HiDPI support in wms-custom-proj example 2014-01-15 15:55:20 +01:00
Tom Payne a7426a82ff Activate HiDPI support in wms-tiled example 2014-01-15 15:55:20 +01:00
Tom Payne 4d619d71b1 Only load ol.css in loader.js
Before this change, all the examples try to load ../css/ol.css, even in
hosted mode, where they should load ../build/ol.css instead.
2014-01-14 14:32:40 +01:00
Tom Payne 43c40e14c8 Remove trailing whitespace 2014-01-14 14:30:51 +01:00