Commit Graph

11042 Commits

Author SHA1 Message Date
ahocevar
0238fa54de The source determines who can do GetFeatureInfo
Now that the ol.renderer.Layer base class has a
getFeatureInfoForPixel method, we have to check whether the
source supports GetFeatureInfo, not the layer renderer.
2013-11-20 13:05:06 +01:00
Tom Payne
fb2878c200 Merge pull request #1296 from twpayne/improve-type-checking
Improve type checking
2013-11-20 02:27:42 -08:00
Tom Payne
a646753124 Improve type checking in ol.TileCache 2013-11-20 11:13:47 +01:00
Tom Payne
d91479df06 Improve type checking in ol.source.DebugTile 2013-11-20 11:13:47 +01:00
Tom Payne
64021b130a Improve type checking in ol.renderer.webgl.TileLayer 2013-11-20 11:13:47 +01:00
Tom Payne
06b1456499 Improve type checking in ol.renderer.webgl.Layer 2013-11-20 11:13:47 +01:00
Tom Payne
2ba33b8cad Improve type checking in ol.renderer.webgl.ImageLayer 2013-11-20 11:13:46 +01:00
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
Bart van den Eijnden
b9b7de97b3 Merge pull request #1257 from bartvde/getattr
feature.getAttributes() should ignore geometry (r=@tschaub)
2013-11-19 10:31:55 -08:00
Bart van den Eijnden
a6b2992a5d simplify the code 2013-11-19 19:08:07 +01:00
Frédéric Junod
cc1962917f Merge pull request #1292 from fredj/canvasSize
Don't use ol.size.equals function
2013-11-19 09:54:05 -08:00
Tim Schaub
15b73ca87e Merge pull request #1293 from tschaub/event-element
Correctly handle layer add/remove in modify interaction.
2013-11-19 09:53:25 -08:00
Tim Schaub
3fbbdb78d5 Call getElement to get layer 2013-11-19 09:52:27 -07:00
Frederic Junod
7052884913 Don't use ol.size.equals function
To avoid creating an array on each frame (60 times per second).
2013-11-19 17:43:46 +01:00
Frédéric Junod
e83c6065ae Merge pull request #1291 from fredj/canvasSize
Fix ol.Size order in ol.renderer.canvas.Map and ol.renderer.webgl.Map
2013-11-19 08:25:15 -08:00
Tom Payne
fe6d071709 Merge pull request #1290 from twpayne/improve-compile-times
Use -server -XX:+TieredCompilation to double compilation speeds
2013-11-19 08:09:05 -08:00
Bart van den Eijnden
bb53087541 make sure parameter name lookups are case-insensitive 2013-11-19 17:09:02 +01:00
Frederic Junod
1816d8d160 Don't set the canvas size too early 2013-11-19 16:23:21 +01:00
Frederic Junod
00186413f8 Remove canvasSize_ property 2013-11-19 16:23:21 +01:00
Tom Payne
655bd0727f Use -server -XX:+TieredCompilation to double compilation speeds 2013-11-19 15:51:03 +01:00
Bart van den Eijnden
89cac657dc use a more strict check for opt_nonGeometry 2013-11-19 15:41:40 +01:00
Bart van den Eijnden
8d03fa1197 add an optional argument to getAttributes so we can get a feature's attributes except for the geometry ones 2013-11-19 15:39:22 +01:00
Bart van den Eijnden
ac730dc1f3 override URL parameter values in the GetFeatureInfo request if someone provides a param in getFeatureInfoOptions with the same name 2013-11-19 14:52:29 +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
Éric Lemoine
8d57f0c78b Stop clicks on zoom slider thumb 2013-11-17 00:05:16 +01:00
Éric Lemoine
a898b9588e Handle click on zoom slider 2013-11-17 00:05:16 +01:00
Éric Lemoine
9ff7470f65 Change ol.control.ZoomSlider#amountDragged_ signature 2013-11-17 00:05:15 +01:00
Éric Lemoine
14f5e5aedc Do not pretend the zoom slider supports touch 2013-11-17 00:05:15 +01:00
Éric Lemoine
2a20693ffb Fix issue where map is stuck in drag mode
If the control container stops "up" events the map browser event handler won't see these events and will keep triggering "drag" events.
2013-11-16 23:41:48 +01:00
Éric Lemoine
559cad4cf3 Simplify zoom slider code 2013-11-16 23:29:22 +01:00
Éric Lemoine
16b0e73666 Better use of good.dom.createDom in zoom slider 2013-11-16 23:22:41 +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