Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Hocevar 254039a6ab Merge pull request #3109 from fperucic/snap-feature
Snap feature
2015-03-27 14:45:57 +01:00
Andreas Hocevar 056c3ad23e Add consistency for pointer event handlers
Now all are private static functions.
2015-03-27 08:58:28 -04:00
Andreas Hocevar 34851d8ecb Merge pull request #3362 from ahocevar/constructor-proj4js
Configure proj4 options and transforms upon construction
2015-03-26 11:21:52 +01:00
Andreas Hocevar 362c9b6851 Clarification of the purpose of ol.proj.addProjection 2015-03-26 10:52:19 +01:00
Andreas Hocevar a920cd94d9 Create ol.proj.Projection instances with additional properties 2015-03-26 10:50:52 +01:00
Andreas Hocevar 338901774b Configure proj4 options and transforms upon construction 2015-03-26 10:39:26 +01:00
Andreas Hocevar 7d20e2a317 Merge pull request #3399 from ahocevar/tilegrid-widths-docs
Clarify when widths need to be configured on a tile grid
2015-03-25 17:18:27 +01:00
Andreas Hocevar 0d507dcbb0 Clarify when widths need to be configured on a tile grid 2015-03-25 16:52:45 +01:00
Andreas Hocevar c600a92516 Merge pull request #3398 from ahocevar/safe-wrapx
Make sure that the return value of wrapX() is stable
2015-03-25 16:21:53 +01:00
Andreas Hocevar 1df8cba753 Make sure that the return value of wrapX() is stable 2015-03-25 15:59:59 +01:00
Andreas Hocevar 683097d62a Merge pull request #3395 from fperucic/inteaction.modify-fix
ol.Interaction.Modify fixes
2015-03-25 14:16:37 +01:00
Andreas Hocevar e58a470e69 Merge pull request #3387 from ahocevar/wmts-wrapx
Add wrapX option for ol.source.WMTS
2015-03-25 14:01:04 +01:00
Andreas Hocevar ebb40c8046 Clean up docs and consistently work with resolutions 2015-03-24 19:03:33 +01:00
Andreas Hocevar 4822ca273f Give tile grids a width 2015-03-24 19:03:09 +01:00
Andreas Hocevar 57d9b87fb3 Add wrapX option for ol.source.WMTS 2015-03-24 17:13:07 +01:00
Andreas Hocevar 45e9695239 Merge pull request #3377 from ahocevar/attribution-wrapx
Support wrapX for attributions
2015-03-23 18:05:13 +01:00
Andreas Hocevar d9c04cd925 Support wrapX for attributions 2015-03-23 16:55:50 +01:00
Andreas Hocevar 7df00242f0 Merge pull request #3382 from ahocevar/github-source-links
Create github source links
2015-03-23 16:47:47 +01:00
Andreas Hocevar 4862a8c897 Create github source links 2015-03-23 16:08:36 +01:00
Andreas Hocevar 8813eb0112 Merge pull request #3376 from ahocevar/wms-tile-wrapx
Add ol.source.Tile support for wrapping around the x-axis
2015-03-23 14:37:12 +01:00
Andreas Hocevar b75f7f9e3b Merge pull request #3378 from ahocevar/questions
Clarify where to ask questions
2015-03-23 14:24:14 +01:00
Andreas Hocevar 9b4cb96502 Clarify where to ask questions 2015-03-23 14:14:34 +01:00
Andreas Hocevar 3e18b85206 Add ol.source.Tile support for wrapping around the x-axis 2015-03-22 14:27:19 +01:00
Andreas Hocevar 752cf78e50 Merge pull request #3361 from ahocevar/test-listen-localhost
Listen on localhost to avoid phantomjs browsing 0.0.0.0
2015-03-18 09:54:08 +01:00
Andreas Hocevar 52ee1b1630 Merge pull request #3365 from ahocevar/pointresolution-docs
Better docs for #getPointResolution
2015-03-18 09:53:29 +01:00
Andreas Hocevar d8f624bf44 Better docs for #getPointResolution 2015-03-18 09:26:02 +01:00
Andreas Hocevar 7916f36f7a Merge pull request #3363 from bill-chadwick/master
New ol.proj features
2015-03-18 00:22:34 +01:00
Andreas Hocevar 9462c2148d Listen on localhost to avoid phantomjs browsing 0.0.0.0 2015-03-17 14:39:00 +01:00
Andreas Hocevar c9715d32b0 Merge pull request #3327 from ahocevar/dist-css
Add css to dist directory
2015-03-07 21:55:25 +01:00
Andreas Hocevar 47f32a30b8 Merge pull request #3324 from ahocevar/select-event-interface
Add interface definition for ol.SelectEvent
2015-03-06 12:41:05 +01:00
Andreas Hocevar d8150c5155 Add interface definition for ol.SelectEvent 2015-03-06 11:31:30 +01:00
Andreas Hocevar 1b640870b1 Add css to dist directory 2015-03-06 11:20:01 +01:00
Andreas Hocevar 41fe72fab5 Merge pull request #3312 from ahocevar/arcgis-hidpi
Fix HiDPI support for ArcGIS REST
2015-03-04 22:33:21 +01:00
Andreas Hocevar 8f1726ae39 Fix HiDPI support for ArcGIS REST 2015-03-04 22:11:16 +01:00
Andreas Hocevar b782e0be98 Merge pull request #3307 from ahocevar/scaleline-units
Handle all non-degree units in ol.control.ScaleLine
2015-03-04 11:20:05 +01:00
Andreas Hocevar 7527eddbaf Merge pull request #3308 from ahocevar/release-v3.3.0
Release v3.3.0
2015-03-03 22:28:30 +01:00
Andreas Hocevar 6854833fbd Update package version to 3.3.0 2015-03-03 22:27:25 +01:00
Andreas Hocevar c8b90adfef Changelog for v3.3.0 2015-03-03 22:27:15 +01:00
Andreas Hocevar d33a45dfa2 Merge pull request #3263 from cwgrant/master
Support ArcGIS Rest Services
2015-03-03 21:40:33 +01:00
Andreas Hocevar 1cec149681 Merge pull request #3295 from sarametz/wmts-getcap
Add RESTful to WMTS GetCapabilities optionsFromCapabilities
2015-03-03 21:13:00 +01:00
Andreas Hocevar 2e3d0d57d5 Handle all non-degree units in ol.control.ScaleLine 2015-03-03 21:06:12 +01:00
Andreas Hocevar 5b539a75bb Merge pull request #3303 from ahocevar/us-ft
Add constant for us-ft units
2015-03-03 14:01:02 +01:00
Andreas Hocevar a6f80ef4b8 Add constant for us-ft units 2015-03-03 13:51:23 +01:00
Andreas Hocevar de42334b19 Merge pull request #3018 from bjornharrtell/selectevent
Add SelectEvent to interaction
2015-03-03 12:56:42 +01:00
Andreas Hocevar 927a0a4627 Merge pull request #3301 from bjornharrtell/select-tests
Select interaction unit tests
2015-03-02 21:12:15 +01:00
Andreas Hocevar a7205d8aec Merge pull request #3293 from ahocevar/icon-opacity
Add missing opacity option for ol.style.IconOptions
2015-03-01 17:11:02 +01:00
Andreas Hocevar 6d0fb4d74e Add missing opacity option for ol.style.IconOptions 2015-03-01 12:07:19 +01:00
Andreas Hocevar c726cbfcd9 Merge pull request #2385 from ahocevar/update-vectors-while-animating
Option to update vector layers while animating
2015-01-14 17:34:39 +01:00
Andreas Hocevar b1a73da9dd Add updateWhileAnimating option
With this option, vector batches will be recreated with every frame.
For animations, this means that vector data won't be clipped to the
extent at which the animation started.
2015-01-14 16:33:05 +01:00
Andreas Hocevar 017ff47bf8 Merge pull request #3117 from ahocevar/domvector-pixelratio
Add pixelRatio support for DOM vector renderer
2015-01-14 12:55:05 +01:00
Andreas Hocevar bbf074b70a Add pixelRatio support for DOM vector renderer
Adds the scaling and transforms to support pixelRatio values other than
1.
2015-01-12 22:14:52 +01:00
Andreas Hocevar 97afb31a65 Merge pull request #3073 from ahocevar/load-tile-options
Make map's deviceOptions map options
2014-12-23 16:11:22 +01:00
Andreas Hocevar 38b12d3149 Make map's deviceOptions map options
This removes the map's deviceOptions config option, and instead
introduces loadTilesWhileAnimating and loadTilesWhileInteracting map
options. By default, both are false now, to make zooming and panning
smoother on most devices.
2014-12-21 12:03:28 +01:00
Andreas Hocevar cd0bed6291 Merge pull request #3058 from ahocevar/extend-coordinate
Use an API function to extend the extent
2014-12-18 11:22:29 +01:00
Andreas Hocevar 5ca6b5dd81 Use an API function to extend the extent 2014-12-18 11:02:41 +01:00
Andreas Hocevar fe0e17fdaf Merge pull request #3010 from ahocevar/style-geometry
Allow styles to override feature geometries
2014-12-18 10:45:50 +01:00
Andreas Hocevar 784701641d Add a getGeometry method 2014-12-18 10:28:21 +01:00
Andreas Hocevar 2bf191b5e3 Assert that feature.get('foo') returns a geometry 2014-12-18 10:08:35 +01:00
Andreas Hocevar 19015d2ca9 Create typedef 2014-12-18 10:07:57 +01:00
Andreas Hocevar af30b88413 Allow geometryFunction to return undefined 2014-12-16 01:12:08 +01:00
Andreas Hocevar 6478454a93 Use getGeometryFunction() in immediate API 2014-12-15 23:22:26 +01:00
Andreas Hocevar 49f9690786 Add tests for setGeometry 2014-12-15 23:21:02 +01:00
Andreas Hocevar 8d9acb8f48 Add an example showing the use of ol.style.Style#geometry 2014-12-15 23:21:02 +01:00
Andreas Hocevar 2d12531105 Allow styles to override feature geometries
With this change, application developers are able to define styles that
render a different geometry than the feature geometry. This can e.g. be
used to render an interior point of a polygon instead of the polygon, or
to render symbols like arrows along lines.
2014-12-15 23:20:53 +01:00
Andreas Hocevar 7ece729d5f Merge pull request #3046 from ahocevar/pointerinteraction-api
Need exportable constructor for constructor options in olx
2014-12-15 16:41:44 +01:00
Andreas Hocevar 5eb1537f48 Need exportable constructor for constructor options in olx
When a constructor options object is created in the olx namespace,
the constructor that uses it must be exportable as well.
2014-12-15 16:15:30 +01:00
Andreas Hocevar e0f574bd25 Merge pull request #3033 from ahocevar/select-return
Allow custom mousemove conditions for Select interaction
2014-12-15 13:26:40 +01:00
Andreas Hocevar 9b0b1543e0 Allow custom mousemove conditions
When configuring a Select interaction with a custom condition that
includes mousemove, panning the map will not work any more. This is
because the return value of handleMapBrowserEvent is determined by
checking for a default condition function. By checking for the
underlying event type instead, we gain flexibility with custom condition
functions.
2014-12-15 11:28:45 +01:00
Andreas Hocevar 2c9fab22c8 Merge pull request #3015 from klokantech/utfgrid
UTFGrid Support
2014-12-12 12:37:37 +01:00
Andreas Hocevar 6255d8b493 Merge pull request #2997 from ahocevar/opengeo-boundless
Use new demo GeoServer location
2014-12-03 14:25:05 +01:00
Andreas Hocevar 0d16e0f0c8 Use new demo GeoServer location
demo.opengeo.org currently redirects to demo.boundlessgeo.com, so this
change makes it so the new location is used directly.
2014-12-03 14:13:36 +01:00
Andreas Hocevar 4cbeb5ee22 Merge pull request #2987 from kartverket/2966
Image layer renderers use source projection if given and equivalent
2014-12-01 13:06:42 +01:00
Andreas Hocevar 5a29834555 Merge pull request #2978 from ahocevar/mapquest-zoom
Fix zoom levels for the MapQuest Street layer
2014-11-27 19:41:26 +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
Andreas Hocevar ca3dfe2b35 Merge pull request #2959 from ahocevar/unstable-doc-fix
Fix typo in selector
2014-11-18 16:53:25 +01:00
Andreas Hocevar 4714c9b380 Fix typo in selector 2014-11-18 16:37:18 +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
Andreas Hocevar 96729baa9f Push the feature, not the index 2014-11-11 20:09:24 +01:00
Andreas Hocevar 08aa6ee82d Do not rely on unstable index 2014-11-11 12:35:19 +01:00
Andreas Hocevar 1d221f8166 Add ability to filter out unstable Fires items 2014-11-06 10:32:17 -07:00
Andreas Hocevar bf43816b66 Merge pull request #2706 from yportier/master 2014-11-03 13:24:37 +01:00
Andreas Hocevar 8027c577bc Merge pull request #2891 from ahocevar/imageloadfunction
Introduce a load function for image sources
2014-10-30 09:33:47 +01:00
Andreas Hocevar 765189b86e Add missing types to olx.js 2014-10-30 09:22:45 +01:00
Andreas Hocevar fed6376e26 Add imageLoadFunction option for ol.source.ImageWMS 2014-10-30 09:22:45 +01:00
Andreas Hocevar a1e19b4905 Add imageLoadFunction option for ol.source.ImageStatic 2014-10-30 09:22:44 +01:00
Andreas Hocevar 46870456ac Add imageLoadFunction option to ol.source.ImageMapGuide 2014-10-30 09:22:44 +01:00
Andreas Hocevar f5761daa61 Add a default imageLoadFunction to be used by sources 2014-10-30 09:22:44 +01:00
Andreas Hocevar 46eb14dc96 Give ol.Image an imageLoadFunction argument 2014-10-30 09:22:34 +01:00
Andreas Hocevar 87a06c0086 Rename #getImageElement to #getImage
This adds consistency between ol.Image and ol.ImageTile. Now both have
an exportable getImage method.
2014-10-30 08:42:09 +01:00
Andreas Hocevar 45967992fb Merge pull request #2690 from ahocevar/layer-vectoroverlay
Vector rendering with the DOM renderer
2014-10-23 10:19:20 +02:00
Andreas Hocevar dd337f3526 Add a canvas for FeatureOverlay and pre-/postcompose rendering 2014-10-10 16:17:19 +02:00
Andreas Hocevar 4702aa496a Add DOM vector layer renderer 2014-10-09 19:10:22 +02:00
Andreas Hocevar 27160be639 Merge pull request #2816 from gberaudo/exit_on_check_examples_failure
Exit on check-examples failure
2014-10-08 15:18:37 +02:00
Andreas Hocevar 6b437701a8 Merge pull request #2785 from ahocevar/export-goog
Use goog.* types in externs
2014-10-06 16:50:02 +02:00
Andreas Hocevar 66234a73ba Use goog.* types in externs
To have an externs file as accurate as possible, we also need to use
types that are provided by the Closure library.
2014-10-06 14:20:59 +02:00
Andreas Hocevar b431487435 Merge pull request #2684 from ahocevar/notify-change
Rename ol.Observable#dispatchChangeEvent() to #changed()
2014-09-11 15:51:22 -07:00
Andreas Hocevar 3da9a67162 Merge pull request #2678 from ahocevar/mutable-styles
Mutable symbolizer properties for styles
2014-09-11 13:14:43 -07:00
Andreas Hocevar 267a950435 Mention the need to re-render in a single place only 2014-09-11 13:13:17 -07:00
Andreas Hocevar 593532cb5a Merge pull request #2698 from ahocevar/feature-not-abstract
StaticVector is not an abstract base class
2014-09-10 08:03:15 -07:00
Andreas Hocevar 6eda02f208 StaticVector is not an abstract base class 2014-09-09 13:44:56 -07:00