Commit Graph

403 Commits

Author SHA1 Message Date
Éric Lemoine
dc49cc4c2f Export ol.style.Stroke 2013-11-20 15:35:11 +01:00
Éric Lemoine
3971425677 Export ol.style.Image 2013-11-20 15:35:11 +01:00
Éric Lemoine
6e2f907e09 Export ol.style.Fill 2013-11-20 15:35:11 +01:00
Bart van den Eijnden
053d80180d have the GML parser read and write out multiple geometry attributes with their correct name 2013-11-20 14:57:00 +01:00
Tom Payne
0fa8692b1b Add ol.format.GeoJSONOptions 2013-11-20 11:42:02 +01:00
Tom Payne
711917db62 Add ol.layer.Vector 2013-11-20 11:41:09 +01:00
Tom Payne
61a217e8dd Add ol.source.GeoJSON 2013-11-20 11:41:07 +01:00
Tom Payne
db40842487 Add ol.source.Vector 2013-11-20 11:41:07 +01:00
Tom Payne
bd82e1aa1a Remove vector code from files 2013-11-20 11:41:04 +01:00
Frédéric Junod
376e427e05 Merge pull request #1275 from fredj/bing_style_param
Rename ol.source.BingMapsOptions style property to imagerySet
2013-11-13 07:21:19 -08:00
Tim Schaub
b9a4ae5e77 Merge pull request #1273 from tschaub/select-layers
Rename layerFilter option to layers and accept array for select interaction.
2013-11-13 06:35:17 -08:00
Frederic Junod
e508be66d9 Rename ol.source.BingMapsOptions style property to imagerySet
To match the Bing Maps terminology
2013-11-13 10:49:17 +01:00
Tim Schaub
a2b55b04e8 Rename layerFilter option to layers and accept array 2013-11-12 22:08:59 -07:00
Tim Schaub
61d13f9a39 Remove ol.source.Vector2 2013-11-12 19:26:29 -07:00
ahocevar
39a5a8e291 Refactoring for better layer management
The only feature on the temporary layer is now the
vertexFeature, and the temporary layer's style is dynamically
changed to the style of the layer whose segment is being edited
(the topmost layer if more than one segment are being edited).
With this simplification, we can also put all segments on a
single RTree. Finally, we no longer rely on structures set on
layers - all we need is now on the instance itself.

This refactoring also changes the way we define layers to
participate in modification - by using an array or a filter
function, or assuming all layers if no layers property is set.
2013-11-13 00:44:38 +01:00
ahocevar
292b851a74 Adding ModifyFeature interaction
This is a first draft. The way geometry changes are handled for
now is a bit clumsy. Both updating the feature cache RTree and
making the layer aware of feature and geometry changes could be
handled in a smarter way if these changes would be made through
the layer instead of directly on the geometry or feature.
2013-11-13 00:44:36 +01:00
Tim Schaub
5a898884ec Use geometry type enum for configuring draw interaction
This allows us to cast single-part geometries to multi-part types before adding features to the target layer.  This doesn't yet allow for drawing multi-part geometries with multiple parts.  That can be handled separately.
2013-11-12 11:51:41 -07:00
Tim Schaub
b5cc35ee04 Snap to finish with configurable tolerance 2013-11-12 10:30:32 -07:00
Tim Schaub
b3487ad30e Draw interaction 2013-11-12 10:29:21 -07:00
Jackie Ng
60825f0f99 Add MapGuide untiled map support to ol3.
This adds a new ol.source.MapGuide class that is initialized with an options object that can contain the following values:
 - projection: The projection of the Map Definition in EPSG format
 - url: The mapagent URL
 - useOverlay: Determines whether the GETMAPIMAGE (false) or GETDYNAMICMAPOVERLAYIMAGE (true) will be used for requesting the map image. When using GETMAPIMAGE, you must include a valid MAPDEFINITION parameter in the 'params' option property. When using GETDYNAMICMAPOVERLAYIMAGE, you must include a valid SESSION and MAPNAME parameters in the 'params' option property.
 - metersPerUnit: A required value used for calculating the map scale needed by the image request. This value can be calculated using the MapGuide Web API or obtained through the new CREATERUNTIMEMAP operation in MapGuide Open Source 2.6
 - params: A set of key-value pairs to append to the mapagent request
 - extent: The bounds of the layer

An example is included to demonstrate this new layer source. Like ol2, this example uses the MapGuide Server on data.mapguide.com
2013-11-11 21:19:27 +11:00
Tim Schaub
dcf510fe48 The code generated from objectliterals.jsdoc requires name on same line
Without this change, the `interactions` property is renamed on map options (see #1210).
2013-11-04 17:17:43 -07:00
Bart van den Eijnden
91e834674c deal with elseFilter, some cleanup 2013-11-04 14:26:05 +01:00
Bart van den Eijnden
c75082c75d add name and title to ol.style.Rule 2013-11-04 14:26:05 +01:00
Bart van den Eijnden
ee7d46cea1 Add initial pass of write support, always write out ol.style.Stroke as LineSymbolizer 2013-11-04 14:24:01 +01:00
Bart van den Eijnden
5abedf66d9 Add scale to/from resolution calculations 2013-11-04 14:22:59 +01:00
Paul Spencer
7df3c7506f Add support for passing interactions as an array for consistency. 2013-11-01 08:03:06 -04:00
Frederic Junod
a9159ecac3 Rename ol.interaction.condition to ol.events.condition 2013-10-30 12:13:44 +01:00
Éric Lemoine
16b817b830 Overlay stopEvent and insertFirst default to true 2013-10-30 09:49:38 +01:00
Bruno Binet
d7c696fc76 Improve doc for stopEvent and insertFirst options 2013-10-30 09:28:56 +01:00
Bruno Binet
69cee6a410 Add insertFirst option in ol.OverlayOptions typedef 2013-10-30 09:28:25 +01:00
Frederic Junod
3efc810ca9 Quote values in apidoc 2013-10-29 11:01:49 +01:00
Peter Robins
e73fb871b6 Small addition to view2d docs 2013-10-27 05:53:46 -04:00
Paul Spencer
bada596b45 Add default stability level to docs of exported things. 2013-10-24 18:20:24 -04:00
Peter Robins
f5c6565617 Some additions to View2d docs
[ci skip]
2013-10-22 07:15:30 -04:00
Tom Payne
2a1bdf6b16 Add missing logo option 2013-10-18 15:56:05 +02:00
Tom Payne
228ff4e56b Add missing logo option 2013-10-18 14:23:16 +02:00
Lukasz Kryger
f1c45c4a6c Typo crossOriin => crossOrigin 2013-10-13 17:57:22 +01:00
Bruno Binet
c07933beef Merge pull request #1120 from bbinet/overlay-stop-events
Configurable event propagation for overlays
2013-10-11 07:13:31 -07:00
Bruno Binet
aaf64c8fec Fix indent 2013-10-11 12:23:21 +02:00
Bruno Binet
8c8dbe2ece Add stopEvent option in ol.OverlayOptions typedef 2013-10-11 12:14:58 +02:00
Tim Schaub
2ee776d9f6 Support fontWeight in text symbolizer 2013-10-09 11:59:30 -06:00
Tim Schaub
2f3cd430de Merge pull request #1070 from tschaub/text-stroke
Add stroke support to text symbolizers.
2013-10-08 08:12:11 -07:00
Tom Payne
2f10e62b76 Merge pull request #1100 from twpayne/animation-duration-control
Animation duration control
2013-10-08 06:53:18 -07:00
Tom Payne
c6df48e424 Add zoomDuration option to interaction defaults 2013-10-08 14:35:04 +02:00
Tom Payne
b1ed63ebf8 Make touch zoom animation duration configurable 2013-10-08 14:35:04 +02:00
Tom Payne
6c0d4cddad Make mouse wheel zoom animation duration configurable 2013-10-08 14:35:03 +02:00
Frederic Junod
307e2d936c Minor apidoc updates 2013-10-08 09:04:50 +02:00
Tim Schaub
539ecbdd9c Add stroke support for text symbolizers 2013-10-07 16:17:38 -06:00
Tom Payne
1863109ac8 Make keyboard zoom animation duration configurable 2013-10-07 15:41:00 +02:00
Tom Payne
93b33589a1 Make double click zoom animation duration configurable 2013-10-07 15:39:52 +02:00