Commit Graph

425 Commits

Author SHA1 Message Date
Tom Payne
2253be7adc Add HiDPI support to ol.source.TileWMS 2014-01-15 15:55:20 +01:00
Tom Payne
31a51cf398 Add ol.source.Tile#getTilePixelSize 2014-01-15 15:55:19 +01:00
Tom Payne
091888aaca Use ol.source.Tile#getTileGridForProjection 2014-01-15 15:55:19 +01:00
Tom Payne
68b0f42e3c Add ol.source.Tile#getTileGridForProjection 2014-01-15 15:55:19 +01:00
Tom Payne
58fef69fac Add pixelRatio to ol.source.Tile#getTile 2014-01-15 15:55:19 +01:00
Tom Payne
33f0024747 Add pixelRatio to ol.TileUrlFunction 2014-01-15 15:53:46 +01:00
Tom Payne
651bdcbd73 Use opt_this instead of opt_obj in ol.source.Vector 2014-01-15 15:01:58 +01:00
Tom Payne
d5c1e53e48 Only support square tiles 2014-01-15 09:45:49 +01:00
Éric Lemoine
e76ec3b292 Merge pull request #1504 from elemoine/vector-api-image-vector-hit-detection
[vector-api] Vector image hit detection
2014-01-14 03:33:47 -08:00
Éric Lemoine
542cf80da9 Better typing 2014-01-14 12:26:50 +01:00
Éric Lemoine
849e50517c Add ol.source.ImageVector#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine
4cd2a75900 Add ol.source.Source#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Tom Payne
610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01:00
Éric Lemoine
8b38639082 Merge pull request #1520 from elemoine/vector-api-hidpi-hit-detection
[vector-api] Fix hit detection on retina displays
2014-01-13 06:40:42 -08:00
Éric Lemoine
ffcd4e8cc2 Fix hit detection on retina displays 2014-01-13 14:10:51 +01:00
Frederic Junod
e9db2eefb9 Make ol.source.Source inherit from Observable 2014-01-13 10:57:34 +01:00
Éric Lemoine
babd133cf6 Export ol.source.ImageVector's styleFunction option 2014-01-13 07:43:02 +01:00
Éric Lemoine
d5b7527f1f Add docs for ol.source.ImageVector 2014-01-13 07:39:27 +01:00
Tim Schaub
f78a668ce3 Handle case where resource has no imagery providers 2014-01-10 13:50:51 -07:00
Éric Lemoine
8c1f7f9b29 Add ol.source.ImageVector 2014-01-10 10:42:05 +01:00
Éric Lemoine
e4b5f309eb Pass state option to image source constructors 2014-01-10 10:42:05 +01:00
Éric Lemoine
2ed5e2a3d7 Pass pixelRatio to canvasFunction 2014-01-10 10:42:05 +01:00
Éric Lemoine
5af738593e Image source refactoring 2014-01-09 15:57:04 +01:00
Tom Payne
0cc844a169 Merge pull request #1494 from twpayne/vector-api-wms-hidpi
[vector-api] HiDPI (Retina) support for WMS single image layers
2014-01-09 06:39:00 -08:00
Tom Payne
3b3b5013ad Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-09 15:33:58 +01:00
Tom Payne
cee014ec9e Remove unused ol.source.wms.getUrl function 2014-01-09 15:27:56 +01:00
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
Frederic Junod
9f79d33486 Create 'type' annotation for 'const' variables
From https://developers.google.com/closure/compiler/docs/js-for-compiler:
  "The type declaration and additional comment are optional. If you
  provide a type declaration, put the declaration on a separate line."
2014-01-09 09:53:20 +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