Frederic Junod
a31a28278d
Sort exports alphabetically
2013-11-06 08:57:15 +01:00
Frédéric Junod
ea73388c56
Merge pull request #1232 from fredj/describe.only
...
Use describe instead of describe.only
2013-11-05 08:02:08 -08:00
Tom Payne
ee53fa7174
Merge pull request #1230 from glennvorhes/for_loop_iter
...
Remove declared iteration variables before for-loop
2013-11-05 02:00:23 -08:00
Frederic Junod
db5986fcc1
Use describe instead of describe.only
2013-11-05 09:50:19 +01:00
Glenn Vorhes
0fc727f989
Remove declared iteration variables before for-loop
2013-11-04 22:31:04 -06:00
Tim Schaub
333ca47a19
Merge pull request #1227 from tschaub/interactions-option
...
Interactions option not respected.
2013-11-04 16:38:58 -08: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
Tim Schaub
e207e80257
Merge pull request #1226 from tschaub/dirty-buffer
...
Buffer dirty extent when rendering,
2013-11-04 14:28:46 -08:00
ahocevar
32bf851957
Merge pull request #1225 from ahocevar/closest-on-segment
...
squaredDistanceToSegment and footOfPerpendicularToSegment
2013-11-04 13:43:42 -08:00
ahocevar
f317016505
Add tests
2013-11-04 22:14:34 +01:00
Tim Schaub
b355c1f412
When expiring tiles, consider max symbol size
...
When an extent is invalidated, we have to expire tiles outside of that extent to account for symbolizer size.
2013-11-04 13:21:23 -07:00
Tim Schaub
b0cea7139b
Function to buffer an extent
2013-11-04 13:21:11 -07:00
ahocevar
e9b934d041
Let closestOnSegment return nothing more than a coordinate
...
Since we do not use the 'along' property anywhere, and the
resulting array returned by closestOnSegment could cause trouble
when working with 3d coodinates, now only the closest point is
returned, and the squared distance to the segment is calculated
by squaredDistanceToSegment instead.
2013-11-04 20:54:07 +01:00
Tom Payne
bfd40bd43d
Merge pull request #1224 from twpayne/faster-object-getkeys
...
Make ol.Object#getKeys about 10x faster
2013-11-04 10:40:23 -08:00
ahocevar
1670b31142
Moving squaredDistanceToSegment to the coordinate package
2013-11-04 19:19:54 +01:00
Tom Payne
60245a57d8
Make ol.Object#getKeys about 10x faster
2013-11-04 18:18:31 +01:00
Bart van den Eijnden
01c9448c3c
do not hard-code the namespaceURIs multiple times
2013-11-04 14:26:20 +01:00
Bart van den Eijnden
429a2e455b
Add a separate test case for write
2013-11-04 14:26:11 +01:00
Bart van den Eijnden
91e834674c
deal with elseFilter, some cleanup
2013-11-04 14:26:05 +01:00
Bart van den Eijnden
a7fe89c05d
better write support for PointSymbolizer
2013-11-04 14:26:05 +01:00
Bart van den Eijnden
5c8fb35227
get rid of the readers we don't support in ol3 symbology as yet
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
9a6c1feddc
Add more changes to the halo functionality, introduce SLD defaults for symbolizers conform the SLD spec
2013-11-04 14:25:25 +01:00
Bart van den Eijnden
924e9c6fce
write out string concatenation in the more common way
2013-11-04 14:24:43 +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
Bart van den Eijnden
76454516f5
Add skeleton for SLD parser
2013-11-04 14:22:42 +01:00
Frédéric Junod
20d5a45b7d
Merge pull request #1193 from fredj/mouseposition_precision_input
...
MousePosition example issues
2013-11-03 22:40:23 -08:00
Éric Lemoine
597894d050
Merge pull request #1215 from probins/target
...
Correct docs for map.getTarget
2013-11-03 05:36:54 -08:00
Peter Robins
341ea92323
Correct docs for map.getTarget
2013-11-03 04:54:31 -05:00
Tim Schaub
10b6b5f2c5
Merge pull request #1173 from tschaub/map-interaction
...
Give interactions a reference to their map.
2013-11-01 15:30:19 -07:00
Tim Schaub
8bd6f80ef8
Merge pull request #1211 from tschaub/relay
...
Allow interactions to deal directly with browser events.
2013-11-01 14:24:51 -07:00
Tim Schaub
d5d005ba3f
Allow interactions to deal directly with browser events
...
The relayEvent_ method wraps goog's browser events in our MapBrowserEvent. This allows interactions to deal with real browser events in addition to our emulated events.
2013-11-01 13:07:44 -06:00
Frederic Junod
10f7bf1bcb
Fix precision input change in mouse-position example
2013-11-01 16:35:26 +01:00
Paul Spencer
c4ba8a85bc
Merge pull request #1210 from pagameba/mapoptions-interactions
...
Add support for passing interactions as an array for consistency.
2013-11-01 06:14:49 -07:00
Paul Spencer
7df3c7506f
Add support for passing interactions as an array for consistency.
2013-11-01 08:03:06 -04:00
Éric Lemoine
0f71323c05
Merge pull request #1203 from elemoine/touch
...
Map browser event handler refactoring
2013-11-01 01:51:38 -07:00
Frédéric Junod
a05c426212
Merge pull request #1186 from fredj/validate_valueAsNumber
...
mouse-position example: Projection select issue
2013-10-31 23:49:48 -07:00
Tom Payne
0ad6948a15
Merge pull request #1209 from twpayne/collection-extend
...
Test that ol.Collection#extend fires events
2013-10-31 12:36:11 -07:00
Tom Payne
9442f2d209
Test that ol.Collection#extend fires events
2013-10-31 20:28:02 +01:00
Paul Spencer
5af671b5f7
Merge pull request #1181 from pagameba/doc-observables
...
Add `@todo observable` documentation for observable properties
2013-10-31 10:51:20 -07:00
Bart van den Eijnden
732aa06f8b
Merge pull request #1201 from bartvde/bing
...
Terms of Use link missing in Bing attribution (r=@ahocevar)
2013-10-31 10:01:01 -07:00
Bart van den Eijnden
8b085514b1
add Terms of Service to the Bing attribution
...
make sure the epsg4326Extent is constructed with the correct arguments
2013-10-31 16:49:46 +01:00
Tim Schaub
7fb56579c5
Add addInteraction and removeInteraction methods to the map
...
This is in line with how we add/remove controls and overlays.
2013-10-31 09:26:28 -06:00
Tim Schaub
7d2d68c011
Give interactions a reference to the map
...
This is in line with what we do for controls and overlays. A follow-up change will add calls to `setMap` when interactions are added to a map.
2013-10-31 09:25:52 -06:00
Éric Lemoine
d81fe5ac95
Map browser event handler refactoring
...
This commit refactors the code of the map browser event handler. The changes are the following:
Previously the `handleTouch*_` listener functions handled both `touch*` and `mspointer*` events. With this commit we use per-event type listeners. This duplicates some code (could be avoidable), but makes it easier to introduce mouse/touch/pointer specific treatments in the future.
We now listen to pointermove, pointerup, touchmove and touchend only when needed. In this way we're assured that a `down` event was received (and that `this.down_` is set) when the `up` or `move` listeners are called. This fixes the bug @oterral reported on the mailing list: https://groups.google.com/d/msg/ol3-dev/jR844F7Nlg8/eN9dt4uATK0J .
To avoid problems in browsers that trigger different types of events (e.g. both mouse and pointer events) the `down` listeners unregister the other `down` listeners. For example, the `pointerdown` listener unregisters the `mousedown` and `touchstart` listeners, for ever.
2013-10-31 13:35:01 +01:00
Éric Lemoine
d211f65203
Merge pull request #1195 from elemoine/click
...
Emulated click events on mouse devices
2013-10-31 01:50:34 -07:00
Éric Lemoine
8402eee0c3
Map "click" event renamed to "singleclick"
...
As discussed with @tschaub in #1195 .
2013-10-31 09:37:16 +01:00
Tim Schaub
8e892a633d
Merge pull request #1188 from tschaub/gfi-extent
...
Correctly generate BBOX in URL for GetFeatureInfo in ol.source.ImageWMS.
2013-10-30 09:10:48 -07:00
Frederic Junod
a2b9f1d0ac
Only set the 'valueAsNumber' property is the value is valid
2013-10-30 14:15:59 +01:00