Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub 0c8f29c432 Merge pull request #2031 from tschaub/dependencies
Move modules used in post-install task to dependencies.
2014-04-30 18:07:49 -06:00
Tim Schaub 0d8c11394d Merge pull request #2030 from tschaub/defines
Move defines to ol namespace.
2014-04-30 17:13:10 -06:00
Tim Schaub 12d4cb5752 Merge pull request #1979 from tschaub/custom-build
Annotation for exportable methods.  Node based tasks for generating exports and a custom build.

Fixes #613.
2014-04-29 13:01:52 -06:00
Tim Schaub 12840aa49f Merge pull request #1976 from tschaub/pointerup-return
Required return from event handler.
2014-04-10 06:52:13 -06:00
Tim Schaub 98ec656981 Merge pull request #1954 from tschaub/olx
Use externs/olx.js instead of objectliterals.jsdoc.
2014-04-08 20:36:38 -06:00
Tim Schaub 732ec7c2db Merge pull request #1952 from tschaub/shortdesc
No markup in shortdesc.
2014-04-04 13:14:48 -06:00
Tim Schaub 966317489e Merge pull request #1951 from tschaub/gjslint
Externs lint.
2014-04-04 10:11:34 -06:00
Tim Schaub f410a38c53 Merge pull request #1949 from tschaub/layer-state
Give layer state a reference to the layer.
2014-04-04 08:59:14 -06:00
Tim Schaub 2c58b03669 Merge pull request #887 from tschaub/default-renderer
Use the Canvas renderer by default.
2014-04-02 12:40:54 -06:00
Tim Schaub 0b21c6bea7 Merge pull request #1936 from tschaub/curly
Typo in objectliterals.jsdoc.
2014-04-01 19:05:17 -06:00
Tim Schaub 24ad507710 Merge pull request #1917 from tschaub/node-deps
Update node packages.
2014-03-28 17:44:13 -06:00
Tim Schaub 57b43e9822 Merge pull request #1912 from tschaub/modify-example
Add style and condition for multiple selection to modify example.
2014-03-27 11:53:36 -06:00
Tim Schaub 862deefa43 Merge pull request #1897 from tschaub/absolute
Don't use protocol relative URLs.
2014-03-27 09:56:27 -06:00
Tim Schaub 788c734635 Merge pull request #1887 from tschaub/editing-examples
Separate test example from modify example.
2014-03-20 15:29:17 -06:00
Tim Schaub f57a0544a0 Merge pull request #1845 from tschaub/buffered
Track replay group resolution and buffer max extent to capture strokes.
2014-03-17 08:50:07 -06:00
Tim Schaub c2400f6dba Merge pull request #1815 from Intermedix/lazy-style-function
Lazily create styles returned by ol.defaultFeatureStyleFunction.
2014-03-12 17:26:49 -04:00
Tim Schaub f3c06989b6 Merge pull request #1822 from tschaub/append-first
Always add first segment when appending coordinates.
2014-03-07 11:53:49 -07:00
Tim Schaub 1f30a5f40d Merge pull request #1662 from tschaub/drawing-rings
Add `minPointsPerRing` option to the draw interaction.  By default, polygon drawing cannot be finished until three points have been added.  To allow polygon drawing to finish after only two points have been added, set `minPointsPerRing: 2`.
2014-03-06 09:39:45 -07:00
Tim Schaub 36204faf2f Merge pull request #1754 from tschaub/clip
Track max extent for replay and limit draw instructions outside that extent.
2014-03-06 09:37:43 -07:00
Tim Schaub 8c9d22c5e5 Merge pull request #1797 from tschaub/convolution-kernel
Example applying a convolution kernel to an image.
2014-03-05 17:27:54 -07:00
Tim Schaub ed3c4a9cea Merge pull request #1758 from tschaub/get-features
Rename vector source methods.
2014-03-05 17:27:36 -07:00
Tim Schaub 667f4278b3 Merge pull request #1748 from tschaub/roughly
Fix test failures on Chrome 33.  The trig functions in V8 have changed, and are may change again (see https://code.google.com/p/v8/issues/detail?id=3006 for the full story).  As a result, we no longer rely on Vincenty for antipodal distance calculations (not recommended anyway), and we use a very low precision match for testing cosine distance on a sphere.
2014-02-25 15:39:31 -07:00
Tim Schaub 9d06dd82ff Merge pull request #1745 from tschaub/linked-css
Don't inject stylesheets with JavaScript.
2014-02-22 09:08:20 -07:00
Tim Schaub 8a9fdbdeb7 Merge pull request #1734 from tschaub/unused-types
Remove unused types from objectliterals.jsdoc.
2014-02-20 16:15:21 -07:00
Tim Schaub 0692db7bc3 Merge pull request #1669 from tschaub/default-style
Provide a useful default style.
2014-02-20 11:09:12 -07:00
Tim Schaub 29e894f913 Merge pull request #1728 from tschaub/set-values
Make setValues behave like multiple calls to set.
2014-02-19 12:00:54 -07:00
Tim Schaub a549df459b Merge pull request #1690 from tschaub/style
Accept a style option and provide setStyle and getStyle methods.
2014-02-14 13:44:15 -07:00
Tim Schaub ca0a6473c8 Merge pull request #1673 from tschaub/select-example
Clarify the style function signature.
2014-02-07 18:07:40 -07:00
Tim Schaub d4ca02c92d Merge pull request #1670 from tschaub/draw-options
Options to draw interaction are not optional.
2014-02-07 17:18:41 -07:00
Tim Schaub 6db054353f Merge pull request #1663 from tschaub/popup
Fix popup anchor in icon example.
2014-02-07 11:26:07 -07:00
Tim Schaub 108b3266de Merge pull request #1665 from tschaub/roy-g-biv
Roy G. Biv.
2014-02-07 11:23:47 -07:00
Tim Schaub ecf89b8e45 Merge pull request #1666 from tschaub/topojson-tweak
Don't render feature with all countries.
2014-02-07 11:22:55 -07:00
Tim Schaub 629558971d Merge pull request #1646 from tschaub/example-index
Remove unused classes info.
2014-02-05 22:35:00 -07:00
Tim Schaub c038c0cb06 Merge pull request #1640 from tschaub/reproject
Use projection option instead of reprojectTo for vector file sources.  The projection of the vector source represents the projection of the cached features.
2014-02-04 17:07:59 -08:00
Tim Schaub a1e814134b Merge pull request #1630 from tschaub/parse-examples
Add task for parsing examples.
2014-02-03 16:36:42 -08:00
Tim Schaub c372a5cc53 Merge pull request #1594 from legrostdg/master
Export ol.Map#getCoordinateFromPixel.
2014-01-24 07:31:22 -08:00
Tim Schaub 0971dad122 Merge pull request #1569 from tschaub/geojson-todo
Add reminder to remove workaround when GeoServer GeoJSON issue is fixed.
2014-01-21 09:18:29 -08:00
Tim Schaub 6948fc4318 Merge pull request #1507 from tschaub/update-closure-util
Update closure util.
2014-01-13 09:00:12 -08:00
Tim Schaub 339c6d3b5b Merge pull request #1510 from tschaub/bing-providers
Handle case where Bing resource has no imagery providers.
2014-01-10 21:00:53 -08:00
Tim Schaub 9217f14761 Merge pull request #1509 from tschaub/layer-spy
Example demonstrating a spyglass effect.
2014-01-10 12:57:20 -08:00
Tim Schaub 542f478ca1 Merge pull request #1498 from tschaub/null-frame-state
Only create a frame state if the map has non-zero size.
2014-01-09 20:16:52 -08:00
Tim Schaub 86374d1fde Merge pull request #1428 from tschaub/image-scale
Properly scale and rotate images with anchor offsets.
2013-12-20 13:44:10 -08:00
Tim Schaub 01d4990a1b Merge pull request #1382 from tschaub/observable-geometry
Remove geometry specific event type.
2013-12-16 07:43:06 -08:00
Tim Schaub a926b15472 Merge pull request #1375 from tschaub/generate-exports
Remove handling of @exportClass and @exportFunction.
2013-12-13 09:12:08 -08:00
Tim Schaub 0ed59f7be3 Merge pull request #1348 from tschaub/beforechange
Add `ol.ObjectEvent` for changes to `ol.Object` properties.  Previously, `ol.Object` dispatched instances of `goog.events.Event` with type `change`.  Now `ol.ObjectEvent` instances will be dispatched on property changes.  The events include a `getKey` method to get the name of the property being changed.  The `beforepropertychange` type event is fired before a property value changes, and the `propertychange` type event fires after the property value changes.
2013-12-13 07:28:36 -08:00
Tim Schaub d4f20192d4 Merge pull request #1349 from tschaub/fewer-change-events
Clean up layer change event handling.
2013-12-11 10:14:16 -08:00
Tim Schaub 3e905d804c Merge pull request #1335 from tschaub/geometry-type
Change geometry type enum and mark as stable.
2013-12-10 08:50:54 -08:00
Tim Schaub e6841b6088 Merge pull request #1297 from tschaub/observable
Create ol.Observable.
2013-12-05 15:13:00 -08:00
Tim Schaub 5a02ab9524 Merge pull request #1282 from tschaub/vector-source
Vector layer/source refactor.
2013-11-27 13:27:30 -08:00
Tim Schaub e4b50376f3 Merge pull request #1316 from tschaub/rbush
Add adapted version of rbush.
2013-11-26 14:41:08 -08:00
Tim Schaub 09b4c4692a Merge pull request #1315 from tschaub/gfi-return
Return for getFeatureInfoForPixel.
2013-11-25 15:56:22 -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 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 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 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
Tim Schaub 0814b2c5c6 Merge pull request #1109 from tschaub/geom
Remove ol.geom2.
2013-11-12 20:32:18 -08:00
Tim Schaub a88541fd60 Merge pull request #1263 from tschaub/draw-interaction
Add interaction for drawing new features.
2013-11-12 15:43:26 -08:00
Tim Schaub 15053cbe56 Merge pull request #1262 from tschaub/unlisten
Unregister for feature events when removing features.
2013-11-11 15:40:47 -08:00
Tim Schaub 85500fb616 Merge pull request #1252 from tschaub/expose-down
Add a getter for the most recent down event.
2013-11-11 11:27:19 -08:00
Tim Schaub 484b8f007e Merge pull request #1253 from tschaub/interaction-events
Make interactions event targets.
2013-11-08 08:32:49 -08:00
Tim Schaub cd57d4639d Merge pull request #1251 from tschaub/expire-after-render
Only call expireTiles_ if already rendered.
2013-11-07 10:41:15 -08: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 e207e80257 Merge pull request #1226 from tschaub/dirty-buffer
Buffer dirty extent when rendering,
2013-11-04 14:28:46 -08: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 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
Tim Schaub df78a41ff1 Merge pull request #1187 from pagameba/fix-todo-observables
Fix todo observables.
2013-10-28 13:28:53 -07:00
Tim Schaub 18d2eb161e Merge pull request #1180 from pagameba/doc-jsdoc-plugins
Add jsdoc plugins for stability and observables.
2013-10-28 12:36:18 -07:00
Tim Schaub 1529aad7f6 Merge pull request #1177 from probins/viewdocs
Small addition to view2d docs.
2013-10-27 11:39:44 -07:00
Tim Schaub 9d52e85fc3 Merge pull request #1163 from pagameba/doc-stability
Add default stability level to docs of exported things.
2013-10-25 11:40:16 -07:00
Tim Schaub ca6681afa8 Merge pull request #1171 from probins/mapdocs
Fix error in map docs.
2013-10-25 10:51:23 -07:00
Tim Schaub def4d62142 Merge pull request #1150 from tschaub/bing
Use permanent Bing Maps API key.
2013-10-21 14:31:01 -07:00
Tim Schaub a8442df56a Merge pull request #1136 from pagameba/null-framestate-bug
Fix a bug when frameState is null which occurs in offline mobile devices.
2013-10-16 06:46:20 -07:00
Tim Schaub 3c5107b218 Merge pull request #1133 from tschaub/align-pixels
Ensure that pixels are aligned when rendering icons.
2013-10-16 06:37:46 -07:00
Tim Schaub 5fe7c20450 Merge pull request #1132 from tschaub/wide-stroke
Only call lineTo if we are in a new pixel.
2013-10-15 12:35:58 -07:00
Tim Schaub 86bb213048 Merge pull request #1126 from kryger/patch-1
Typo crossOriin => crossOrigin.
2013-10-13 10:13:50 -07:00
Tim Schaub 08de33c020 Merge pull request #1115 from tschaub/no-deps
Stop base.js from trying to load deps.js.
2013-10-09 16:03:28 -07:00
Tim Schaub dd67c7d8c3 Merge pull request #1111 from tschaub/font-weight
Add fontWeight property to TextSymbolizer.
2013-10-09 13:20:47 -07:00
Tim Schaub 3893351d01 Merge pull request #1113 from tschaub/point-symbolizers
ol.style.Shape and ol.style.Icon don't inherit from ol.style.Point.
2013-10-09 13:19:14 -07:00
Tim Schaub f302fee5ad Merge pull request #1108 from tschaub/java
Rely on java in path.
2013-10-08 13:53:27 -07:00
Tim Schaub 2f3cd430de Merge pull request #1070 from tschaub/text-stroke
Add stroke support to text symbolizers.
2013-10-08 08:12:11 -07:00
Tim Schaub 428ba59806 Merge pull request #1102 from tschaub/expr-lib
Always use ol.expr.lib when calling evaluateFeature.
2013-10-07 09:35:58 -07:00
Tim Schaub 703564fcbb Merge pull request #1096 from tschaub/editable-features
Editable geometries and features.
2013-10-03 19:22:30 -07:00
Tim Schaub 42115baabb Merge pull request #1092 from tschaub/vector-event
Extend goog.events.Event for custom vector layer events.
2013-10-03 11:23:39 -07:00
Tim Schaub 58c62a201f Merge pull request #1090 from tschaub/symbolizer-z
Add zIndex property to symbolizers.  Symbolizers with the same zIndex (in addition to other properties) are considered equal.  A subsequent change will sort features by symbolizer zIndex before rendering.
2013-10-02 22:32:34 -07:00
Tim Schaub da84dd9253 Merge pull request #1061 from tschaub/geom-refactor
Remove shared structures backing geometries.
2013-09-27 16:08:08 -07:00
Tim Schaub c2f8d7508b Merge pull request #1069 from tschaub/rule-resolution
Add min/maxResolution properties to rules.
2013-09-27 03:35:00 -07:00
Tim Schaub 2610e9e0c3 Merge pull request #1054 from tschaub/apidoc
Differentiating doc from apidoc.
2013-09-23 15:38:29 -07:00
Tim Schaub 6276e633de Merge pull request #832 from fredj/feature_getset_id
Rename setFeatureId to setId (same for get).
2013-09-20 10:31:37 -07:00
Tim Schaub 5d04d74c92 Merge pull request #1045 from tschaub/advanced
Use "advanced" for the production loader.
2013-09-20 10:13:57 -07:00
Tim Schaub 387f60f1e5 Merge pull request #1041 from tschaub/antisocial
Don't display the social links on the example index.  Don't display the "mode" selection when running the development server.  Set the mode in the query string when the selection changes.
2013-09-19 16:44:09 -07:00
Tim Schaub f54a54a432 Merge pull request #1029 from tschaub/tilejson-extent
Use proper extent structure for TileJSON.
2013-09-16 06:47:29 -07:00
Tim Schaub 7caaed4218 Merge pull request #1017 from tschaub/provide-objects-only
Never use goog.provide with primitives (especially with falsely values).
2013-09-16 06:46:26 -07:00
Tim Schaub 8b25e2a63e Merge pull request #955 from tschaub/proj
Move projection to ol.proj namespace and limit exports.
2013-09-16 06:42:38 -07:00
Tim Schaub b192335e56 Merge pull request #1027 from tschaub/closure-util
Use the closure-util package.  Documentation will come when this is a more complete solution.  See #1027 for basic usage instructions.
2013-09-15 15:36:13 -07:00
Tim Schaub 591f022e9a Merge pull request #956 from tschaub/extent
Change structure for ol.Extent.  This makes extent use `[minX, minY, maxX, maxY]` order.
2013-09-15 15:28:35 -07:00
Tim Schaub daddc61dc6 Merge pull request #1015 from tschaub/export
Export ol.source.XYZ.prototype.setUrl.
2013-09-11 12:14:07 -07:00
Tim Schaub d57b4844d1 Merge pull request #979 from tschaub/xyz
Export ol.source.XYZ.
2013-09-11 07:55:57 -07:00
Tim Schaub 32d35386ba Merge pull request #1008 from tschaub/code-gen
Non-greedy pattern matching for types.
2013-09-10 23:13:55 -07:00
Tim Schaub 919e2d39f1 Merge pull request #1009 from tschaub/tile
Use new name for tile layer in moveend example.
2013-09-10 22:23:20 -07:00