Commit Graph

1933 Commits

Author SHA1 Message Date
Tom Payne
6cadc2b9ab Merge pull request #1785 from adube/example-labels
Example labels
2014-03-10 14:11:31 +01:00
Tom Payne
586c4b9cd2 Merge pull request #1746 from sbrunner/fitcoordinates
Fit coordinates on visible map, Center coodinate on positions
2014-03-10 14:08:47 +01:00
Marc Jansen
8a4fba360b Close polygon in modify-feature example. 2014-03-07 10:07:47 +01:00
Tim Schaub
36204faf2f Merge pull request #1754 from tschaub/clip
Track max extent for replay and limit draw instructions outside that extent.
2014-03-06 09:37:43 -07:00
Stéphane Brunner
9789b1c1e3 Add center example 2014-03-06 10:54:39 +01:00
Frederic Junod
c32d8a2e53 Add ol.layer.Heatmap class and example 2014-03-06 09:14:03 +01:00
Tim Schaub
8c9d22c5e5 Merge pull request #1797 from tschaub/convolution-kernel
Example applying a convolution kernel to an image.
2014-03-05 17:27:54 -07:00
Frederic Junod
6ab3f6e175 Add ol.format.OSMXML and ol.source.OSMXML 2014-03-03 14:28:13 +01:00
Tim Schaub
f3b615299f Example applying a convolution kernel to an image 2014-03-02 22:56:50 -07:00
ahocevar
caf59eea8f Simplify the google-map example
By creating the ol3 map div in the html, there is no need any
more to wait for the custom GMaps control to append the ol3 map
to its parent. This also fixes an issue that sometimes prevented
the ol3 map to appear, when the GMaps tiles were loaded before
the custom control's div was appended to its parent.
2014-03-02 15:56:21 +01:00
Alexandre Dubé
ae6f557cbc Fix vector-labels example
Typo fixes, add 1 more font
2014-02-28 11:25:07 -05:00
Alexandre Dubé
e3d9b23170 Update vector-labels example
Add note about the 'Text/Wrap' option currently not working.
2014-02-28 10:58:17 -05:00
Alexandre Dubé
3eabcc2565 Remove unused 'align' column from geojson 2014-02-28 10:58:17 -05:00
Alexandre Dubé
1e1020e90d Update vector-labels example
Add forms to let the user change the labels as they want.
Text 'Wrap' doesn't work properly. '\n' are supposed to allow
line to break.
2014-02-28 10:58:17 -05:00
Alexandre Dubé
0c63c76dea Add vector label example 2014-02-28 10:58:17 -05:00
Alexandre Dubé
6cd214c1e4 Add geojson sample files 2014-02-28 10:58:17 -05:00
Frederic Junod
bca9512478 Use ol.geom.LineString#getCoordinateAtM in igc example 2014-02-28 16:33:02 +01:00
Frederic Junod
01288618cf Remove unused ol.FeatureOverlay require 2014-02-28 10:35:10 +01:00
Frédéric Junod
99a00b1986 Merge pull request #1767 from fredj/ie11-fullscreen
Add fullscreen API support to IE11
2014-02-27 12:12:36 +01:00
Tom Payne
23f6fc0d0f Merge pull request #1732 from twpayne/render-sync
Switch to asynchronous rendering by default
2014-02-27 11:03:20 +01:00
Frederic Junod
ac9fe664e0 Add fullscreen API support to IE11 2014-02-27 09:31:42 +01:00
Tom Payne
1a81227aef Remove trailing whitespace 2014-02-26 17:58:43 +01:00
Tim Schaub
ee2485534a Add an example that renders a simple fractal
This works at resolutions where simplification is significantly reducing the number of points in the line.  At high resolutions, navigation becomes unresponsive.  Limiting draw instructions to a replay group's extent will fix this.
2014-02-25 21:47:56 -07:00
Antoine Abt
e213bccef7 Merge pull request #1740 from tonio/interaction_api
Editing interaction api cleanup
2014-02-24 08:46:49 +01:00
Tim Schaub
e633f7f8c1 Don't inject stylesheets with JavaScript
This reverts 4d619d71b1 (see #1527), going back to what we had after e13075f6ff (see #881).

To avoid the 404 in the hosted examples, the css is copied to the same relative path when hosted as during development.
2014-02-21 18:45:46 -07:00
Antoine Abt
ec832bdf6e Modify interaction takes style & features options
Instead of a FeatureOverlay
2014-02-21 12:35:30 +01:00
Antoine Abt
7cea6f3240 Make select interaction create its FeatureOverlay
You can now configure it with a `style` option.
2014-02-21 11:59:43 +01:00
Tom Payne
a8f932fa07 Rename ol.Map#requestRenderFrame to ol.Map#render 2014-02-20 16:54:20 +01:00
Frederic Junod
0e73ffa9d9 Set ol.style.Icon opacity 2014-02-19 11:40:40 +01:00
Antoine Abt
04f1f2120b Merge pull request #1697 from tonio/remove_renderer_guess
Remove `ol.RendererHints.createFromQueryData` from the library
2014-02-17 08:21:18 +01:00
Antoine Abt
4478d6c34c Fixes mobile fullscreen example (no mode chooser) 2014-02-14 09:32:14 +01:00
Tim Schaub
f4585331f2 Add setStyle and getStyle to ol.Feature
As with vector layers and feature overlays, feature style can be set by calling
setStyle.  Calling getStyle returns what was passed to setStyle.  Internally, we call getStyleFunction.
2014-02-13 10:25:17 -07:00
Tim Schaub
6abb691224 Give feature overlays a style option 2014-02-13 10:25:16 -07:00
Tim Schaub
b309c44020 Give vector image source a style option 2014-02-13 10:25:16 -07:00
Tim Schaub
1072f6dfa7 Use style option in vector layer examples
Providing a styleFunction option still works because the layer property is still named styleFunction.
2014-02-13 10:25:16 -07:00
Antoine Abt
b169ef2094 Add renderer guess in example shared file
& use it in every example.
2014-02-13 17:21:03 +01:00
Antoine Abt
2369ac62eb Load example-behaviour before example script 2014-02-13 17:21:02 +01:00
Bart van den Eijnden
56a39e936f Use APOLLO imagery WMTS in the WMTS example 2014-02-13 16:14:39 +01:00
Antoine Abt
715966a8d1 Add MultiPoint to modify example 2014-02-12 15:24:32 +01:00
Éric Lemoine
709c17192a Merge pull request #1686 from elemoine/icon-example
Show how to use ol.Feature#setStyleFunction in the icon example
2014-02-12 14:40:24 +01:00
Éric Lemoine
581b2d345d Show how to use ol.Feature#setStyleFunction in the icon example 2014-02-12 14:26:00 +01:00
ahocevar
aa8bbe4c7b Turn off rotation because Google does not support it 2014-02-12 12:16:18 +01:00
Antoine Abt
0764ea99ee Merge pull request #1654 from tonio/vector-api-modify
Add Modify Interaction
2014-02-11 16:59:43 +01:00
Tom Payne
e0765240a2 Merge branch 'ie-compat' of git://github.com/Intermedix/ol3 into Intermedix-ie-compat 2014-02-11 16:54:39 +01:00
Frederic Junod
cd8977fca1 Use 'input' event for HTML input range 2014-02-11 15:20:21 +01:00
Antoine Abt
25ba60db9f Use closure for styles & fix case 2014-02-10 11:52:58 +01:00
Antoine Abt
919fbe335f Use strings for GeometryType in examples 2014-02-10 11:26:14 +01:00
Antoine Abt
f9b6eabfef %s/render.FeaturesOverlay/FeatureOverlay/ 2014-02-10 11:26:14 +01:00
Antoine Abt
c95ffe381b Render style for Point inside GeometryCollection. 2014-02-10 11:26:14 +01:00
Antoine Abt
72675bf6ad Make interaction ctor only have an option object 2014-02-10 11:26:13 +01:00