Commit Graph

3111 Commits

Author SHA1 Message Date
Éric Lemoine 3aeb4d1584 Export ol.Map#getEventCoordinate 2013-10-14 15:30:23 +02:00
Éric Lemoine dbdacec6df Export ol.Map#getEventPixel 2013-10-14 15:30:23 +02:00
Éric Lemoine c9b1ba51fa Add ol.Map#getEventCoordinate 2013-10-14 09:43:25 +02:00
Éric Lemoine 406207213f Add ol.Map#getEventPixel 2013-10-14 09:43:11 +02: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 06580950ca Add controls to ol-overlaycontainer-stopevent
so that events won't be propagated to the map when interacting with a control
2013-10-11 12:51:22 +02:00
Bruno Binet aaf64c8fec Fix indent 2013-10-11 12:23:21 +02:00
Bruno Binet caf958826d Add new container which don't stop event propagation
and allow overlays to optionnally stop event propagation
2013-10-11 12:16:56 +02:00
Bruno Binet 8c8dbe2ece Add stopEvent option in ol.OverlayOptions typedef 2013-10-11 12:14:58 +02:00
Frederic Junod ef97da2b77 Use getPixel function instead of offset from event 2013-10-11 07:35:27 +02:00
Tim Schaub dd67c7d8c3 Merge pull request #1111 from tschaub/font-weight
Add fontWeight property to TextSymbolizer.
2013-10-09 13:20:47 -07:00
Tim Schaub 2ee776d9f6 Support fontWeight in text symbolizer 2013-10-09 11:59:30 -06:00
Tim Schaub d5ab5ec1d2 Shape symbolizer extends point symbolizer 2013-10-09 09:01:51 -06:00
Tim Schaub e36c53dd23 Icon symbolizer extends point symbolizer 2013-10-09 09:01: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 b533cad031 Only install animations if duration > 0 2013-10-08 14:35:04 +02: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
Tim Schaub 5e86ffcca5 Add stroke properties to text symbolizer literal 2013-10-07 16:09:20 -06:00
Bruno Binet aca022df6e Merge pull request #1101 from bbinet/overlay_center_positioning
ol.overlay center positioning
2013-10-07 10:35:21 -07:00
Tim Schaub 60a13d6517 Always provide lib functions, conditionally provide scope 2013-10-07 09:46:24 -06:00
Bruno Binet 715236c1f6 Update ol.overlay exports for center positioning 2013-10-07 17:01:06 +02:00
Bruno Binet 29076db6ed Add support for ol.overlay center positioning 2013-10-07 16:41:59 +02: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
Tom Payne 214e578333 Make zoom control animation duration configurable 2013-10-07 15:35:52 +02:00
ahocevar 4b934c03ba We want to create a deep clone, not a shallow one 2013-10-05 08:42:21 -06:00
ahocevar b40124b2bc Fixing doc comment 2013-10-05 08:41:49 -06:00
ahocevar 52552c9b18 Fire change events for multi-part geometries 2013-10-04 23:36:16 -06:00
Tim Schaub 703564fcbb Merge pull request #1096 from tschaub/editable-features
Editable geometries and features.
2013-10-03 19:22:30 -07:00
Tim Schaub 67fab12fef Listen for feature events and fire layer events 2013-10-03 15:51:00 -06:00
Tim Schaub adf99d592a Listen for geometry events and fire feature events 2013-10-03 15:50:23 -06:00
ahocevar de999b9463 Merge pull request #1093 from ahocevar/symbolizer-id
Adding counter expression function
2013-10-03 12:16:02 -07:00
ahocevar 32f8826622 Minor doc change 2013-10-03 13:16:03 -06:00
Tim Schaub b821619368 Change event for polygons 2013-10-03 12:28:35 -06:00
Tim Schaub 30b2e3930b Add setCoordinates for linestring and dispatch change event 2013-10-03 12:28:35 -06:00
Tim Schaub e78690c2d2 Add setCoordinates for point and dispatch change event 2013-10-03 12:28:35 -06:00
Tim Schaub 9b47c15bd8 Make geometries event targets
Previously, the tests were using eql to make assertions about matching geometries.  This is inappropriate for structures with circular references (as with goog.events.EventTarget);
2013-10-03 12:28:34 -06:00
Tim Schaub 626a319222 Accessor for polygon rings 2013-10-03 12:28:34 -06:00
Tim Schaub 42115baabb Merge pull request #1092 from tschaub/vector-event
Extend goog.events.Event for custom vector layer events.
2013-10-03 11:23:39 -07:00
ahocevar 41e7a6a059 Marking sort function private 2013-10-03 12:02:29 -06:00
ahocevar 4937f08971 Adding counter expression function
This function can e.g. be used to get a symbolizer literal with
an ever increasing zIndex.
2013-10-03 11:41:02 -06:00
Tim Schaub 64dd5cfc1f Extend goog.events.Event for custom vector layer events
Vector events include features and extents.  In the case of feature change events, the extents array will include old and new extents for features with modified geometries.w
2013-10-03 11:25:30 -06:00
ahocevar 87e755e9e4 Sort symbolizer groups by zIndex
Now rendering order can be controlled by setting the zIndex
symbolizer property.
2013-10-03 09:37:08 -06:00
Tim Schaub 97b56add70 Unique event type value for this target
The goog.events.EventType.CHANGE type is already dispatched because layers are ol.Object instances.  To allow people to register for vector layer specific events without also having listeners get called with more general ol.Object change events, we need to give the types unique values.
2013-10-03 09:20:51 -06:00
Bart van den Eijnden 17356bc3ee Merge pull request #1063 from oterral/parsing_stylemap
Parsing styleMap (r=@bartvde)
2013-10-03 08:01:56 -07:00