Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 50a322208a Merge pull request #1514 from twpayne/vector-api-circle
[vector-api] Add ol.geom.Circle
2014-01-14 03:46:48 -08:00
Tom Payne da31e62199 More efficient ol.geom.Circle#closestPointXY, thanks @tschaub 2014-01-14 12:34:47 +01:00
Tom Payne 99eca3037d Encode ol.geom.Circles as empty geometry collections in GeoJSON
GeoJSON does not support circles, nor null geometries.  Empty geometry
collections seem to be the way to represent at null geometry in GeoJSON.
2014-01-14 12:34:47 +01:00
Tom Payne 5886d0dec0 Add FIXME to geolocation example 2014-01-14 12:34:47 +01:00
Tom Payne f0d9a451e5 Add an ol.geom.Circle to geojson example 2014-01-14 12:34:47 +01:00
Tom Payne 8dde621e61 add ol.render.vector.renderCircleGeometry_ 2014-01-14 12:34:47 +01:00
Tom Payne 825c5290f6 Add ol.render.canvas.PolygonReplay#drawCircleGeometry 2014-01-14 12:34:46 +01:00
Tom Payne 5052bef4a5 Add ol.replay.canvas.Instruction.CIRCLE 2014-01-14 12:34:46 +01:00
Tom Payne a8f5dff9cf Add ol.render.canvas.Immediate#drawCircleGeometry 2014-01-14 12:32:31 +01:00
Tom Payne 5df47634f3 Add ol.render.webgl.Immediate#drawCircleGeometry 2014-01-14 12:32:31 +01:00
Tom Payne b2b74a5ee6 Add ol.render.IRender#drawCircleGeometry 2014-01-14 12:31:50 +01:00
Tom Payne 3647f13e2e Add ol.geom.Circle 2014-01-14 12:31:50 +01:00
Tom Payne 9050746d58 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-14 12:28:37 +01:00
Tom Payne 006364c791 Merge pull request #1522 from twpayne/vector-api-clean-ups
[vector-api] Miscellaneous clean-ups
2014-01-14 03:26:29 -08:00
Tom Payne 474b4a444b Use a switch statement, rather than ifs, in ol.render.canvas.Replay 2014-01-13 18:17:38 +01:00
Tom Payne 54e1fd3a41 Use @inheritDoc in ol.render.webgl.Immediate 2014-01-13 18:11:06 +01:00
Tom Payne 3835c299b5 Remove unnecessary typecasts
goog.asserts.assertInstanceof is sufficient for the compiler to deduce
the type.
2014-01-13 18:10:32 +01:00
Tom Payne 610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01:00
Tom Payne 2f2b6dd510 Merge pull request #1511 from twpayne/powered-by-ol3
Add ol3 logo by default
2014-01-13 07:00:09 -08:00
Tom Payne 3f851ad392 Use compressed logo URL 2014-01-13 14:45:13 +01:00
Tom Payne 6e43692440 Add optimized 32x32 pixel logo 2014-01-13 14:38:16 +01:00
Tom Payne 36dc0b88e1 Add 32x32 pixel logo image 2014-01-13 14:37:13 +01:00
Tom Payne b7e906fe09 Add ol3Logo option to ol.Map 2014-01-13 14:29:41 +01:00
Tom Payne e4b815d4d6 Add optional URL for logos 2014-01-13 14:20:24 +01:00
Tom Payne a9d56bb74b Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-10 22:11:39 +01:00
Tom Payne b3293a7e64 Merge pull request #1508 from twpayne/vector-api-d3-no-social
[vector-api] Remove social links from d3 example
2014-01-10 13:08:14 -08:00
Tom Payne d74519bb21 Add ol3 logo to d3 example 2014-01-10 21:52:24 +01:00
Tom Payne db4a128951 Add example-behaviour.js to d3 example, thanks @tschaub 2014-01-10 21:52:20 +01:00
Tom Payne b5db7fd2a9 Remove social links from d3 example 2014-01-10 21:15:49 +01:00
Tom Payne ab0268a8f1 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-10 15:00:27 +01:00
Tom Payne dd44c0c960 Merge pull request #1500 from ThomasG77/patch-1
Update quickstart.hbs
2014-01-09 14:15:15 -08:00
Tom Payne 1f0183cc03 Merge pull request #1499 from twpayne/vector-api-no-color-names
[vector-api] Only use color arrays in the library
2014-01-09 13:30:28 -08:00
Tom Payne e83e79626a Only use color arrays in the library 2014-01-09 21:55:17 +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 04a0369d68 Correct ol.renderer.canvas.ImageLayer transform for HiDPI devices 2014-01-09 15:27:57 +01:00
Tom Payne 807bf757af Remove unused ol.TileUrlFunction.createFromParamsFunction 2014-01-09 15:27:56 +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 784f3500f2 Make ol.extent.buffer return an extent instead of mutating 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 9961e489cb Merge pull request #1495 from oterral/vector-api
[vector-api] Add ol.color.asArray and ol.color.asString exports
2014-01-09 05:31:46 -08: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 8d18f25296 Add ol.source.TileWMS tests 2014-01-09 13:12:49 +01:00
Tom Payne 079cd585e6 Add ol.source.ImageWMS tests 2014-01-09 13:12:49 +01:00
Tom Payne b52a4b084e Remove pointless test 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
Tom Payne 6b94baf291 Add ol.format.KML defaultStyle option 2014-01-08 18:22:19 +01:00
Tom Payne 1acdef835d Change default anchor for KML icons from Google Maps 2014-01-08 00:30:17 +01:00
Tom Payne 2ab1082737 Merge pull request #1479 from twpayne/vector-api-draw-order
[vector-api] Draw vector features in the order polygons, lines, images
2014-01-07 05:29:24 -08:00
Tom Payne c816d0105d Replay groups in defined order 2014-01-07 13:58:21 +01:00
Tom Payne f2dbf4c145 Add ol.render.REPLAY_ORDER 2014-01-07 13:58:21 +01:00
Tom Payne a313331098 Fix StyleFunction type namespace 2014-01-07 13:57:56 +01:00
Tom Payne 99b68ff6ba Merge pull request #1474 from twpayne/vector-api-fix-contains
[vector-api] Fix ol.geom.flat.linearRingContainsXY
2014-01-07 00:09:38 -08: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 8da1c95cf2 Merge pull request #1470 from twpayne/vector-api-attributions
[vector-api] Display attributions and logos for vector sources
2014-01-06 09:40:00 -08:00
Tom Payne ffb68c951a Fix ol.geom.flat.linearRingContainsXY 2014-01-06 18:19:08 +01:00
Tom Payne bedfb828d8 Display attributions and logos for vector sources 2014-01-06 16:21:58 +01:00
Tom Payne b795ddf430 Merge pull request #1467 from twpayne/vector-api-webgl-rotation
[vector-api] Fix rotation of WebGL tile layers
2014-01-06 06:58:38 -08:00
Tom Payne 1a80273d6f Fix rotation of WebGL tile layers 2014-01-06 15:46:34 +01:00
Tom Payne 7682dbc235 Merge pull request #1465 from twpayne/vector-api-rtree-example
[vector-api] Add comment about the rtree example not working when hosted
2014-01-06 05:02:11 -08:00
Tom Payne 6b10ea887e Add comment about the rtree example not working when hosted 2014-01-06 13:53:24 +01:00
Tom Payne a0a3fa3bdf Merge pull request #1466 from twpayne/vector-api-first-element-child
[vector-api] Use firstElementChild/nextElementSibling in XML parsers
2014-01-06 04:49:51 -08:00
Tom Payne 0b4e8bf6f1 Use firstElementChild in ol.format.KML 2014-01-06 13:27:37 +01:00
Tom Payne 7808ed9ce9 Use firstElementChild in ol.xml.parse 2014-01-06 13:27:13 +01:00
Tom Payne 69f0de2739 Merge pull request #1464 from twpayne/vector-api-kml-linear-ring
[vector-api] KML LinearRing support
2014-01-06 02:31:32 -08:00
Tom Payne 6b9268fe56 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-06 11:17:01 +01:00
Tom Payne 72dc5f297d Merge pull request #1462 from twpayne/vector-api-clean-ups
[vector-api] Minor clean-ups
2014-01-06 02:09:38 -08:00
Tom Payne d092b2f645 Merge pull request #1463 from twpayne/vector-api-type-fixes
[vector-api] Type checking improvements
2014-01-06 02:09:04 -08:00
Tom Payne d20a8eac3f Read KML LinearRings as Polygons 2014-01-06 10:41:38 +01:00
Tom Payne 1499af397d Use assertInstanceof instead of getVectorSource 2014-01-06 09:36:43 +01:00
Tom Payne c97588c1e2 Use assertInstanceof instead of getVectorLayer 2014-01-06 09:36:43 +01:00
Tom Payne 7ee2747948 Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType 2014-01-06 09:29:36 +01:00
Tom Payne 8ed6d760f7 Improve type checking in ol.color.fromString 2014-01-06 09:29:36 +01:00
Tom Payne 58b4d73f3b Improve type checking in ol.geom.simplify 2014-01-06 09:29:35 +01:00
Tom Payne 2a47bf0775 Improve type checking in ol.geom.flat 2014-01-06 09:29:35 +01:00
Tom Payne f4ab0cbac0 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-04 15:02:56 +01:00
Tom Payne c599ceb43d Merge pull request #1458 from Intermedix/bug-insert-valueExtent
Fix bug in ol.structs.RBush#update
2014-01-04 05:46:41 -08:00
Tom Payne b049094391 Merge pull request #1456 from twpayne/vector-api-style-function
[vector-api] Add StyleFunction types
2014-01-03 08:30:24 -08:00
Tom Payne 061fed50b7 Move all styleFunction types into ol.feature 2014-01-03 17:23:11 +01:00
Tom Payne b5b3e22db9 Merge pull request #1453 from twpayne/clean-ups
Miscellaneous clean-ups
2014-01-03 07:04:20 -08:00
Tom Payne 6da95e49d2 Sort externs files alphabetically 2014-01-03 14:55:02 +01:00
Tom Payne 0e7a545871 Add missing dependency for build/ol-all.js 2014-01-03 14:55:02 +01:00
Tom Payne c6a1967cce Move layer.jsdoc into src/ol/layer 2014-01-03 14:55:02 +01:00
Tom Payne da396039ce Move proj.exports and proj.jsdoc into proj directory 2014-01-03 14:55:02 +01:00
Tom Payne 46267a9059 Use toString() instead of + '' 2014-01-03 14:55:02 +01:00
Tom Payne d25ee8df0a Use urls option in igc example 2014-01-02 22:41:21 +01: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 310d0dc792 Rename replayes to replays 2014-01-02 22:13:37 +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