Commit Graph

1993 Commits

Author SHA1 Message Date
É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
Antoine Abt
9d591ba7ef Use Select interaction in modify interaction example. 2014-02-10 11:26:13 +01:00
Tim Schaub
5f81a3f745 Clarify the style function signature 2014-02-07 17:57:11 -07:00
Tim Schaub
6db054353f Merge pull request #1663 from tschaub/popup
Fix popup anchor in icon example.
2014-02-07 11:26:07 -07:00
Tim Schaub
108b3266de Merge pull request #1665 from tschaub/roy-g-biv
Roy G. Biv.
2014-02-07 11:23:47 -07:00
Tim Schaub
d288c5b4eb Don't render feature with all countries
The feature with undefined id is a multi-polygon representing all countries.  Instead of rendering all multi-polygons with a lower z-index, we just avoid rendering this single feature.
2014-02-07 11:09:45 -07:00
Tim Schaub
f3c764ce3c Roy G. Biv 2014-02-07 11:06:43 -07:00
Tim Schaub
2ad11608ce Anchor the popup to the top of the icon 2014-02-07 10:00:41 -07:00
Antoine Abt
ad1cec84a1 Add style for Geomettry Collection 2014-02-07 14:52:59 +01:00
Antoine Abt
20ea1b5141 Bring MultiPolygons back in examples 2014-02-07 14:52:59 +01:00
Antoine Abt
a1d20182fe Make modify interaction use FeaturesOverlay
Instead of a whole map.
2014-02-07 14:52:58 +01:00
oterral
3155d681be Add modify feature interaction and its example 2014-02-07 14:52:57 +01:00
Tom Payne
55c99db238 Use string instead of ol.proj.Units enum in examples 2014-02-06 22:43:25 +01:00
Tom Payne
ae215c7c0b Remove no-longer-needed typecasts 2014-02-06 22:33:42 +01:00
Tom Payne
0475705a49 Don't use ol.source.wms.ServerType enum in examples 2014-02-06 22:33:42 +01:00
Tom Payne
901af3c15f Use string instead of ol.control.ScaleLineUnits enum in examples 2014-02-06 22:33:37 +01:00
Tom Payne
9af436b5a0 Use string instead of ol.OverlayPositioning enum in examples 2014-02-06 22:33:32 +01:00
Tom Payne
a58aa0a40d Use string instead of ol.RendererHint enum in examples 2014-02-06 22:33:25 +01:00
Tom Payne
8701942d40 Merge pull request #1655 from twpayne/vector-context
Rename IRender to IVectorContext
2014-02-06 18:52:53 +01:00
Éric Lemoine
261832c629 Merge pull request #1657 from elemoine/renderer
Do not expose both renderer and renderers options
2014-02-06 18:37:27 +01:00
Tom Payne
55811b3a11 Update examples to use vectorContext property in render events 2014-02-06 18:03:28 +01:00
Éric Lemoine
57f77bb444 Merge pull request #1638 from elemoine/featureoverlay
Rename ol.render.FeaturesOverlay to ol.FeatureOverlay
2014-02-06 18:00:09 +01:00
Éric Lemoine
1acc542bb6 Use the renderer map option in the examples 2014-02-06 16:56:15 +01:00
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
Austin Hyde
03b7d6ee92 Add jquery to examples for backwards compatibility with IE7/8 2014-02-05 15:42:58 -05: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
Éric Lemoine
ceec3c985d Fix minor typo in vector-layer example 2014-02-04 16:45:42 +01:00
Éric Lemoine
356f86d8f7 Use featureOverlay in select interaction 2014-02-04 16:43:26 +01:00
Éric Lemoine
ff11ed2e1e Variable renaming in examples 2014-02-04 16:41:40 +01:00
Éric Lemoine
169bdbc16f goog.require in alphabetical order 2014-02-04 16:32:59 +01:00
Éric Lemoine
10f03374f3 Rename ol.render.FeaturesOverlay to ol.FeatureOverlay 2014-02-04 16:30:15 +01: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