Commit Graph

398 Commits

Author SHA1 Message Date
Tom Payne
c5a5acbf89 Refactor ol.source.TileWMS URL logic 2014-01-09 15:27:56 +01:00
Tom Payne
46d8b81661 Factor out WMS version 1.3 check 2014-01-09 15:27:56 +01:00
Tom Payne
86f23aa615 Add ol.source.wms.DEFAULT_VERSION 2014-01-09 15:27:56 +01:00
Tom Payne
bcf38b1b21 Add ol.source.ImageWMS#setUrl 2014-01-09 15:27:55 +01:00
Tom Payne
1bf678bef2 Remove unused ol.source.wms.getDpiParam function 2014-01-09 13:12:49 +01:00
Tom Payne
e9d8401786 Refactor ol.source.ImageWMS URL logic
* Always request images of integer WIDTH and HEIGHT
* Match BBOX to requested size
* Handle integer-only DPIs in GeoServer
2014-01-09 13:12:49 +01:00
Tom Payne
95f1871ac4 Make ol.source.ImageSource crossOrigin property protected 2014-01-09 13:12:49 +01:00
Tom Payne
5f7e53617b Merge pull request #1481 from twpayne/vector-api-kml-default-style
[vector-api] Configurable default styling for KML
2014-01-09 02:43:48 -08:00
Tom Payne
7ce7bb2187 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-09 11:42:14 +01:00
Tom Payne
dcd2853d2d Add ol.source.KML defaultStyle option 2014-01-08 18:22:20 +01:00
Bart van den Eijnden
473a11c697 use a single ol.source.MapQuest and use a const for the tile attribution 2014-01-08 13:23:47 +01:00
Bart van den Eijnden
1b48572c6e add ol.source.MapQuestHybrid and add all MapQuest types to the example 2014-01-08 12:05:19 +01:00
Éric Lemoine
0fa748699a Export ol.source.Vector#forEachFeatureInExtent 2014-01-08 11:40:20 +01:00
Tom Payne
6052620acf Merge pull request #1454 from twpayne/vector-api-vector-file-urls
[vector-api] Add urls option to ol.source.VectorFile
2014-01-06 23:55:24 -08:00
Tom Payne
699cfb3e31 Add urls option to ol.source.KML 2014-01-02 22:40:44 +01:00
Tom Payne
c1ceb60f50 Add urls option to ol.source.KML 2014-01-02 22:40:29 +01:00
Tom Payne
8c0e2d3c1a Add urls option to ol.source.GeoJSON 2014-01-02 22:40:09 +01:00
Tom Payne
3769d220d9 Add urls option to ol.source.VectorFile 2014-01-02 22:39:46 +01:00
Tom Payne
752a2acd11 Use toString() instead of + '' 2014-01-02 22:12:34 +01:00
Tom Payne
2342f83a48 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-02 18:28:30 +01:00
Tom Payne
588846fa44 Use tileClass option to ol.source.Zoomify 2014-01-02 15:53:22 +01:00
Tom Payne
c85fe457a7 Add tileClass option to ol.source.TileImage 2014-01-02 15:53:16 +01:00
Tom Payne
71b91cd16a Tidy up ol.source.Zoomify tile URL calculations 2014-01-02 15:26:55 +01:00
Tom Payne
94fa3fb211 Tidy up ol.source.Zoomify tile grid calculations 2014-01-02 15:26:55 +01:00
Tom Payne
36826d2e0b Remove unused variable 2014-01-02 15:26:55 +01:00
Tom Payne
b1da2c78f2 Refactor ol.source.Zoomify to use a private tile class 2014-01-02 15:26:55 +01:00
Tom Payne
34c85d8ade Make ol.source.TileImage#tileLoadFunction protected, not private 2014-01-02 13:01:46 +01:00
Tom Payne
4ad63725d9 Make ol.source.TileImage#crossOrigin protected, not private 2014-01-02 13:01:22 +01:00
Tom Payne
54d388f8fa Make ol.source.TileImage#tileCache protected, not private 2014-01-02 12:57:55 +01:00
Tom Payne
e183a2daf1 Don't rely on getResponseXml 2013-12-20 18:01:27 +01:00
Éric Lemoine
a12bf20437 Merge pull request #1412 from fredj/vector-api-hidpi-cleanup
[vector-api] hidpi cleanup
2013-12-20 07:51:10 -08:00
Tom Payne
8a7ae264e1 Handle feature's geometries changing to and from null in ol.source.Vector 2013-12-20 14:44:21 +01:00
Tom Payne
4b9451de81 Add extra assertion that feature's geometry is not null 2013-12-20 14:42:08 +01:00
Tom Payne
904578f694 Add ol.source.KML 2013-12-19 17:00:37 +01:00
Frederic Junod
5f3d018476 Export ol.source.wms.ServerType.* 2013-12-19 16:30:28 +01:00
Frederic Junod
fd902008a2 Fix GeoServer format option param key
See http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#format-options
2013-12-19 16:14:23 +01:00
Tom Payne
1cb70592d7 Use addFeatures in ol.source.VectorFile 2013-12-19 14:53:22 +01:00
Tom Payne
b2c822c9ca Clear null geometry features in ol.source.Vector#clear 2013-12-19 14:53:22 +01:00
Tom Payne
f1fac356dd Change ol.source.Vector#removeFeatureInternal from private to protected 2013-12-19 14:53:22 +01:00
Tom Payne
3af6521ee3 Use addFeaturesInternal in ol.source.Vector constructor 2013-12-19 14:53:21 +01:00
Tom Payne
0912c8f6ea Add ol.source.Vector#addFeatures 2013-12-19 14:53:21 +01:00
Tom Payne
e6c66d3678 Add ol.source.Vector#addFeaturesInternal 2013-12-19 14:53:21 +01:00
Tom Payne
387fcfbdb0 Factor out ol.source.Vector#addFeatureInternal 2013-12-19 14:53:21 +01:00
Éric Lemoine
fead554a39 Add missing goog.provide's (for @enum's) 2013-12-18 23:29:26 +01:00
Frederic Junod
3e83809880 Add serverType option to ol.source.ImageWMS constructor 2013-12-18 09:08:37 +01:00
Frederic Junod
8e6b686f3d Add hidpi option to ol.source.ImageWMS and ol.source.MapGuide 2013-12-17 15:58:25 +01:00
Frederic Junod
c84782bfc6 Use the image pixelRatio in ol.renderer.canvas.ImageLayer 2013-12-17 13:31:11 +01:00
Frederic Junod
db322f9ade Add pixelRatio param to ol.Image constructor 2013-12-17 13:31:11 +01:00
Frederic Junod
78ec21fb85 Add pixelRatio to ol.source.Image#createImage 2013-12-17 13:31:11 +01:00
Frederic Junod
ca0b77d0e3 Add pixelRatio to ol.source.Image#getImage 2013-12-17 13:31:11 +01:00