Tom Payne
a613b19360
Improve type checking in ol.renderer.Layer
2013-11-20 11:13:46 +01:00
Tom Payne
0221f74e5c
Improve type checking in ol.renderer.dom.TileLayer
2013-11-20 11:13:46 +01:00
Tom Payne
68bf12b5e1
Improve type checking in ol.renderer.dom.Map
2013-11-20 11:13:46 +01:00
Tom Payne
d3981e2891
Improve type checking in ol.renderer.canvas.Map
2013-11-20 11:13:46 +01:00
Tom Payne
e487e1b215
Improve type checking in ol.Collection
2013-11-20 10:57:45 +01:00
Tom Payne
78380feb30
Use ol.structs.PriorityQueue template in ol.TileQueue
2013-11-19 21:19:23 +01:00
Tom Payne
2d6354bb92
Use ol.structs.LRUCache template in ol.TileCache
2013-11-19 21:19:23 +01:00
Tom Payne
353555f740
Use templates in ol.structs.PriorityQueue
2013-11-19 21:19:22 +01:00
Tom Payne
9d92b9ee37
Use templates in ol.structs.LRUCache
2013-11-19 21:19:22 +01:00
Tom Payne
c78754abba
Activate more compiler checks
2013-11-19 21:19:22 +01:00
ahocevar
936f86568e
Merge pull request #1284 from ahocevar/null-vertexfeature
...
Protect from null vertexFeature
2013-11-18 12:23:00 -08:00
ahocevar
aa5358203e
Protect from null vertexFeature
...
When dragging the map before a vertexFeature was created, it can
be null, so we cannot get its renderIntent.
2013-11-18 10:43:37 +01:00
Tim Schaub
04b2247623
Merge pull request #1277 from tschaub/interation-hint
...
The ol.interaction.Drag subclasses set interacting hint as needed.
2013-11-15 08:29:02 -08:00
Tim Schaub
b0362b8c0a
Only set interacting hint when modifying the view
2013-11-14 14:21:01 -07:00
ahocevar
b2f17f9c62
Merge pull request #1281 from ahocevar/simplify-wmts-from-capabilities
...
Default projection does not need to be provided
2013-11-14 08:44:04 -08:00
ahocevar
d2c5422d09
Default projection does not need to be provided
...
The wmts-from-capabilities example should focus on creating a
WMTS source from capabilities, so it should not distract by
configuring a projection that does not need to be configured.
2013-11-14 17:29:11 +01:00
Frédéric Junod
c7dcee1406
Merge pull request #1278 from fredj/apidoc_optional
...
Remove '(Optional)' from Description
2013-11-14 04:42:00 -08:00
ahocevar
b670a0d9da
Merge pull request #1280 from ahocevar/wmts-vienna
...
Proj4js no longer needed for wmts-from-capabilities example
2013-11-14 04:02:11 -08:00
ahocevar
b5bcaea3a0
Proj4js no longer needed for wmts-from-capabilities example
...
The WMTS capabilities document of the Vienna map has changed. It
no longer defines a tileset for EPSG:31256, so it can be parsed
without having Proj4js and a projection definition for
EPSG:31256.
2013-11-14 12:48:06 +01:00
Frederic Junod
fd0a157a39
Remove '(Optional)' from Description
2013-11-14 10:21:23 +01:00
Frédéric Junod
fac953a683
Merge pull request #1198 from fredj/bindTo_transform
...
ol.Object#bindTo: getter and setter
2013-11-13 09:00:33 -08: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
Frederic Junod
c18b2706fb
Notify target object after transform functions change
2013-11-13 16:13:08 +01:00
Frederic Junod
a0bea641d1
Remove 'valueAsNumber' property from ol.dom.Input
...
Use bindTo.transform functions instead
2013-11-13 16:13:08 +01:00
Tom Payne
bba1de2679
Add tests for ol.Object#bindTo getters and setters
2013-11-13 16:13:08 +01:00
Frederic Junod
03cc533cb3
Getter and setter support for bindTo
2013-11-13 16:13:08 +01:00
Tim Schaub
437359c778
Merge pull request #1274 from tschaub/callback-count
...
Issue calls to get feature/info for all layers.
2013-11-13 06:55:01 -08:00
Tim Schaub
22da054774
Determine the callback count while iterating through all layers
...
Previously, if a layer didn't have a `getFeature*ForPixel` type method, the loop count would be decremented. This means that all layers would not be considered. Instead, the callback count should be incremented before requests are made and decremented in the callback.
2013-11-13 07:36:54 -07: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
0814b2c5c6
Merge pull request #1109 from tschaub/geom
...
Remove ol.geom2.
2013-11-12 20:32:18 -08:00
Tim Schaub
7b69373985
Remove ol.geom2
2013-11-12 19:27:02 -07:00
Tim Schaub
61d13f9a39
Remove ol.source.Vector2
2013-11-12 19:26:29 -07:00
Tim Schaub
75b40a60c0
Remove ol.layer.Vector2 and associated renderer
2013-11-12 19:25:08 -07:00
Tim Schaub
cd647a1ebc
Removing example
2013-11-12 19:24:13 -07:00
ahocevar
0d1533eaca
Merge pull request #1269 from ahocevar/modify-interaction
...
Modify interaction for feature modification
2013-11-12 15:55:23 -08:00
ahocevar
f790992a77
Make addLayer and removeLayer methods private
2013-11-13 00:44:39 +01:00
ahocevar
b805a76ae1
layerFilter can no longer be undefined here
2013-11-13 00:44:39 +01:00
ahocevar
4e85322abb
Minor stylistic clean-ups and more symmetry
2013-11-13 00:44:38 +01:00
ahocevar
9067260a44
Fixing api doc comment
2013-11-13 00:44:38 +01:00
ahocevar
7ae65c32e1
Removing unused method
2013-11-13 00:44:38 +01: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
06406d968f
Adding equals method for comparing coordinates
2013-11-13 00:44:38 +01:00
Tim Schaub
d577466de6
Common style for drawing and modifying
2013-11-13 00:44:37 +01:00
Tim Schaub
af6edadebe
Update example with more distinct colors and no social links
...
Conflicts:
examples/modify-features.html
2013-11-13 00:44:37 +01:00
ahocevar
fe2fbe06c3
Updating header
2013-11-13 00:44:37 +01:00
ahocevar
319f78fb94
Using new squaredDistanceToSegment and closestOnSegment
2013-11-13 00:44:37 +01:00
ahocevar
0e673a492a
Use accessor for components
2013-11-13 00:44:37 +01:00
ahocevar
c669dda2b1
Do not create a vertexFeature with [NaN, NaN] coordinates
...
The RTree cannot work with NaN coordinates. So instead of
preparing a vertexFeature before we know a coordinate, we now
lazily create the vertexFeature.
2013-11-13 00:44:37 +01:00