Commit Graph

6184 Commits

Author SHA1 Message Date
Frederic Junod fabf05977a Use offsetX and offsetY if available 2014-12-01 10:56:34 +01:00
Frederic Junod 26ce8032eb Use ol.Map#getEventPixel in mouse position control 2014-12-01 10:56:34 +01:00
Éric Lemoine 4734530ce2 Merge pull request #2973 from s093294/patch-1
Making GetTileCoordFor methods public avaible
2014-12-01 09:05:29 +01:00
Poul Kjeldager Sørensen 1d7bae6b26 Update tilegrid.js 2014-11-30 21:53:42 +01:00
Pierre GIRAUD 25516fead9 Merge pull request #2986 from pgiraud/tilevector_featureatcoordinate
Add support for finding features at a given coordinates for vector tiles
2014-11-29 23:12:47 +01:00
Tim Schaub f57f0e17ab Merge pull request #2937 from tschaub/clipped
Clip layer rendering to limited extent.
2014-11-29 14:01:43 -07:00
Éric Lemoine 56ad3ea9aa Merge pull request #2971 from elemoine/tilevector
Two ol.source.TileVector fixes
2014-11-29 20:07:33 +01:00
Bart van den Eijnden 6cd1f3f262 Correct olx.style.RegularShapeOptions definition 2014-11-29 13:52:36 +01:00
Bart van den Eijnden 275f5bc796 Merge pull request #2981 from bartvde/circle-linedash
Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke (r=@fredj,@elemoine)
2014-11-29 12:19:14 +01:00
Bart van den Eijnden 6556e5eb52 Merge pull request #2982 from bartvde/radius1
Allow radius1 as an alias for radius in ol.style.RegularShape
2014-11-28 19:58:46 +01:00
Bart van den Eijnden da39e9f96a For stars, use radius1 and radius2 in ol.style.RegularShape 2014-11-28 19:44:16 +01:00
Pierre GIRAUD 5878e7f839 Adding getFeaturesAtCoordinateAtResolution in ol.source.TileVector 2014-11-28 17:30:45 +01:00
Bart van den Eijnden 2d74a6b10f Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke 2014-11-28 13:11:25 +01:00
Pierre GIRAUD 34e82de8c8 Export ol.source.TileVector#getFeatures in built mode 2014-11-28 11:54:35 +01:00
Bart van den Eijnden 890b96f1e9 Support OGC srs urns without an EPSG database version 2014-11-27 20:01:53 +01:00
Andreas Hocevar 5155e7a6ac Fix zoom levels for the MapQuest Street layer
A typo in 65b8e0f915 introduced this bug.
Before that, 18 zoom levels were used. Now we're using 19, which appears
to be available with full world coverage.
2014-11-27 19:13:02 +01:00
Antoine Abt ed4bae064d Merge pull request #2889 from fgravin/getFeatureInfo
Add GetFeatureInfo format
2014-11-27 10:30:20 +01:00
Poul Kjeldager Sørensen b72fddf7f4 Making GetTileCoordFor methods public avaible
I am using tilegrid to request elevation data tiles side by side of a raster layer. It would be nice if these two method was public avaible such I could use the tilegrid to convert mouse coordinates to tile coordinates to request backend tiles. 

The elevation tiles are not shown as a layer directly but rather used to compute and show information in relationship to mouse curser or map view.

This would save me the time of adding another tilegrid implementation in my application specific context.
2014-11-26 01:24:00 +01:00
Antoine Abt 638f8275aa Export readFeatures method 2014-11-25 16:24:51 +01:00
Antoine Abt fc16c4500d Renaming & better typing 2014-11-25 16:24:32 +01:00
Éric Lemoine ec01aa45b9 Make createTileCoordTransform return identity func
This makes ol.tilegrid.TileGrid#createTileCoordTransform return the identity function. This makes it possible to use ol.source.TileVector with an ol.tilegrid.TileGrid (as opposed to an ol.tilegrid.XYZ).
2014-11-24 15:19:24 +01:00
Éric Lemoine 8ba830f91f Make loadFeaturesFromUrl accept an error callback 2014-11-24 15:13:17 +01:00
Antoine Abt 374f02c725 Fix pan with select interaction in mousemove mode. 2014-11-21 11:23:06 +01:00
Bart van den Eijnden 4b61e864e7 Merge pull request #2960 from bartvde/layergroup-extent
LayerGroup extent should be used if extent not set on child layer
2014-11-20 08:53:23 +01:00
Bart van den Eijnden 3db26f1d2b Use the layergroup's extent if no extent provided 2014-11-20 08:35:40 +01:00
Frederic Junod 552f9483cb Revert "Remove mousewheel event name workaround"
This reverts commit 20ce664068.

Reverted upstream: https://github.com/google/closure-library/commit/4ee0daca0ec1bea486ab670310a6e9bdbaaad720
2014-11-18 09:00:50 +01:00
Éric Lemoine 3bf4cf28f8 Merge pull request #2896 from kalinbas/patch-1
Remove duplicated style parameter
2014-11-16 20:24:31 +01:00
Tim Schaub b1ac2ff2f2 Merge pull request #2938 from tschaub/image-static-docs
Additional image static docs.
2014-11-16 08:47:19 -08:00
Frederic Junod c701ad6749 Mark applyTransform api stable 2014-11-13 10:46:06 +01:00
Andreas Hocevar cee1575a6c Merge pull request #2936 from ahocevar/unselect-index
Fix unselection of selected features
2014-11-13 08:39:40 +01:00
Tim Schaub b269161276 A bit more static image doc 2014-11-11 19:01:05 -08:00
Andreas Hocevar 96729baa9f Push the feature, not the index 2014-11-11 20:09:24 +01:00
Tim Schaub 50c0bc6879 Clip rendering to layer extent 2014-11-11 08:59:57 -08:00
Andreas Hocevar 08aa6ee82d Do not rely on unstable index 2014-11-11 12:35:19 +01:00
paulsimon 89248cf60a Fix jsdoc comment 2014-11-10 20:49:20 +01:00
Éric Lemoine 96f8a806a6 Improvement to view docs 2014-11-10 12:48:43 +01:00
Frédéric Junod 1df7f6c2c7 Merge pull request #2906 from fredj/polyline-order
Assume a latitude, longitude order for Polyline format
2014-11-10 12:13:35 +01:00
Éric Lemoine b7376779fb Merge pull request #2927 from elemoine/finishdrawing
Make it possible to programmatically finish drawing
2014-11-10 08:55:45 +01:00
Éric Lemoine 2f17106b68 Merge pull request #2928 from elemoine/patch-3
Do not rename handleMapBrowserEvent internally
2014-11-09 22:44:55 +01:00
Éric Lemoine f32c550dbe Better docs for handleMapBrowserEvent 2014-11-09 22:08:29 +01:00
Éric Lemoine bdeb195bfb Add finishDrawing to API
This makes it posssible to programmatically finish drawing.
2014-11-09 20:50:36 +01:00
Éric Lemoine 583f47d24d No need to pass event to finishDrawing_ 2014-11-09 20:49:52 +01:00
Guillaume Beraudo f715e3186a Readability rearangement in canvasmaprenderer.js 2014-11-07 11:15:02 +01:00
Éric Lemoine 4924f34287 Merge pull request #2921 from gberaudo/small_overlay_optimization
Small feature overlay optimization
2014-11-06 15:45:40 +01:00
Guillaume Beraudo 6b8a5870ba Small feature overlay optimization
Compute `getSquaredTolerance` once, out of the loops.
2014-11-06 11:49:44 +01:00
Frederic Junod 83025fb97d Assume a latitude, longitude order for Polyline format 2014-11-06 10:58:52 +01:00
Florent gravin 0f99f113e3 Change format name to WMSGetFeatureInfo 2014-11-04 09:39:19 +01:00
Antoine Abt c0f2187310 Make GetFeatureInfo format pass ol2 test suite 2014-11-04 09:25:13 +01:00
Florent gravin 759386e37e Add WMS GetFeatureInfo reader format 2014-11-04 09:25:13 +01:00
Frederic Junod 4c8d8c21dc Remove 'pointerup' listener in ol.control.OverviewMap 2014-11-04 09:21:41 +01:00