Éric Lemoine
55f56aaf03
Add ol.source.Tile#getGutter
2013-12-12 10:59:31 +01:00
Éric Lemoine
e14d8add85
Add gutter support to TileUrlFunction
2013-12-12 10:59:31 +01:00
Éric Lemoine
fd438f232b
Add gutter option to ol.source.TileWMS
2013-12-12 10:59:31 +01:00
ahocevar
92a30bcbf7
Use ol.structs.RBush in ol.source.Vector
2013-11-28 16:16:52 +01:00
Tim Schaub
1f6d9fc5ae
Test for vector source load method
2013-11-27 12:22:33 -07:00
Tim Schaub
6229c0a1d4
Unused getFeaturesByIds_ method
2013-11-27 12:22:33 -07:00
Tim Schaub
1877f92d46
Add forEach method to rtree, use it in feature cache
...
This saves having to create feature lookup objects and iterate through lookup properties multiple times.
2013-11-27 12:22:33 -07:00
Tim Schaub
8cc4ae8dbd
Separate load requests from feature requests
...
This separates the action of requesting an extent to be loaded from the action of requesting cached features. The renderer (or any other consumer of a vector source) calls load to request a data extent. A `featureload` event fires when new features are loaded. The renderer (or any other consumer) separately asks for cached features given an extent. This vector source only loads features once, but this separation will also work with sources that make multiple requests for data in different extents.
This also removes the `data` option from the vector source in favor of a `features` option. Since we no longer have shared data structures for geometries, people can manually create features and pass them to a vector source. The `addFeatures` method is exported as well. This is used to add features to a source that don't have a representation on the "remote" (or server).
2013-11-27 12:22:32 -07:00
Tim Schaub
bfaed4d52d
Moving all style functionality from source to style
2013-11-27 12:20:43 -07:00
Tim Schaub
307e425891
Remove unused method
2013-11-27 12:20:42 -07:00
Tim Schaub
01a0b9ff8d
Private source methods
2013-11-27 12:20:42 -07:00
Tim Schaub
2000b0af78
Vector layer/source refactor
...
This moves the feature cache from ol.layer.Vector to ol.source.Vector. These are the minimum changes required to maintain the existing functionality and make tests pass. More refactoring to come.
2013-11-27 12:20:42 -07:00
Bart van den Eijnden
410b0793cf
Merge pull request #1127 from bartvde/gfi
...
STYLES parameter duplicated on getFeatureInfo (r=@tschaub,@ahocevar)
2013-11-25 00:39:09 -08:00
ahocevar
9d9c91bbf7
Add missing WMSGetFeatureInfo exports
2013-11-22 17:11:44 +01:00
Tom Payne
d91479df06
Improve type checking in ol.source.DebugTile
2013-11-20 11:13:47 +01:00
Bart van den Eijnden
bb53087541
make sure parameter name lookups are case-insensitive
2013-11-19 17:09:02 +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
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
61d13f9a39
Remove ol.source.Vector2
2013-11-12 19:26:29 -07:00
Bart van den Eijnden
8b085514b1
add Terms of Service to the Bing attribution
...
make sure the epsg4326Extent is constructed with the correct arguments
2013-10-31 16:49:46 +01:00
Tim Schaub
1af11e27ac
Proper map extent for GetFeatureInfo request
...
Note that with and without this change, the pixel provided to the ol.source.wms.getFeatureInfo function will be wrong if the view has non-zero rotation.
2013-10-29 14:11:35 -06:00
Frederic Junod
3efc810ca9
Quote values in apidoc
2013-10-29 11:01:49 +01:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
Tim Schaub
e70b55b60b
Check resources length of first resource set (see #1149 )
2013-10-21 11:18:24 -06:00
Tom Payne
e4eff4658b
Improve handling of error responses from Bing
...
Previously goog.asserts.assert was used to check that the response was
successful, which are stripped from compiled code. This commit sets the
ERROR state on the source instead.
2013-10-21 12:02:55 +02:00
Tom Payne
2a1bdf6b16
Add missing logo option
2013-10-18 15:56:05 +02:00
Tom Payne
228ff4e56b
Add missing logo option
2013-10-18 14:23:16 +02:00
Tom Payne
167b309242
Replace source ready flag with loading/ready/error enum
2013-09-30 13:30:54 +02:00
Frédéric Junod
2878309a41
Merge pull request #1067 from fredj/attribution_osm_option
...
Remove 'attribution' option from ol.source.OSMOptions
2013-09-26 06:10:17 -07:00
Frederic Junod
9891e5fbc2
Remove 'attribution' option from ol.source.OSMOptions
2013-09-26 14:15:46 +02:00
Frederic Junod
907e796b55
Allow tileLoadFunction override for ol.source.MapQuestOSM and MapQuestOpenAerial
2013-09-24 15:54:53 +02:00
Frederic Junod
9fcd057c1e
Allow tileLoadFunction override for ol.source.Stamen
2013-09-24 13:33:01 +02:00
Frederic Junod
4614a43d48
Allow tileLoadFunction override for ol.source.WMTS
2013-09-24 13:33:01 +02:00
Frederic Junod
980d311680
Allow tileLoadFunction override for ol.source.TileWMS
2013-09-24 13:33:01 +02:00
Frederic Junod
331005468c
Allow tileLoadFunction override for ol.source.TileJSON
2013-09-24 13:33:01 +02:00
Frederic Junod
5a99adfc68
Allow tileLoadFunction override for ol.source.BingMaps
2013-09-24 13:33:01 +02:00
Frederic Junod
dd509ed39e
Allow tileLoadFunction override for ol.source.OSM
2013-09-24 13:33:01 +02:00
Tom Payne
3e8abadf95
Merge pull request #1053 from elemoine/sourceoptions
...
Use typedef in source code for SourceOptions
2013-09-24 03:03:12 -07:00
Éric Lemoine
b2c336c29e
Use typedef in source code for SourceOptions
2013-09-23 17:53:43 +02:00
Tom Payne
bd81e6c9a9
Remove source load events
2013-09-20 13:37:40 +01:00
Tom Payne
56e352b7aa
Dispatch change events instead of load events when sources change
2013-09-20 13:37:31 +01:00
Tom Payne
abaa220314
Use URL instead of Url or url in comments and strings
2013-09-20 12:28:04 +01:00
Tom Payne
a8d9dad552
Merge pull request #1036 from twpayne/async-tile-load
...
Asynchronos tile URL calculation
2013-09-20 02:23:09 -07:00
Frederic Junod
42f7288d73
Assign function instead of calling it
2013-09-18 17:19:50 +02:00
Tom Payne
f3d5a5c37b
Add tileLoadFunction option to ol.source.XYZ
2013-09-18 13:40:07 +01:00
Tom Payne
6896e920f9
Allow tile load function to be overridden
2013-09-18 13:39:42 +01:00
Éric Lemoine
4abdac2abf
Merge pull request #1030 from elemoine/touches
...
Exclude tiles that touches the source extent
2013-09-16 10:00:11 -07:00
Éric Lemoine
4990c797d1
WMTS tiles touching the extent are excluded
2013-09-16 15:53:13 +02:00
Éric Lemoine
832be21c0f
WMS tiles touching the extent are excluded
2013-09-16 15:52:52 +02: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