Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine 46e436b599 Minor refactoring to WebGL image replay func 2014-11-10 17:19:31 +01:00
Éric Lemoine d9a4482393 Add ol.renderer.webgl.VectorLayer#disposeInternal
Implement disposeInternal to free WebGL resources (deleteBuffer and deleteTexture).
2014-11-10 16:52:32 +01:00
Éric Lemoine 501e7456c0 Merge remote-tracking branch 'upstream/master' into webgl-point-merge 2014-11-10 15:40:03 +01:00
Éric Lemoine 87865be9f4 Add "color" support to WebGL image replay
This adds support for layer brightness, contrast, hue, saturation.
2014-11-10 15:00:35 +01:00
Éric Lemoine 240f425c46 Add global opacity support to WebGL image replay
vectorLayer.setOpacity() now works as expected.
2014-11-10 14:58:57 +01:00
Éric Lemoine 1de46c68d7 Use "discard" in image shader
This leads to better looking Timeline profiles in Chrome's developer tools!
2014-11-10 14:58:56 +01:00
Éric Lemoine 96f8a806a6 Improvement to view docs 2014-11-10 12:48:43 +01:00
Éric Lemoine fb816b7ab5 Fix texture coordinates in WebGL image replay 2014-11-10 12:30:59 +01:00
Éric Lemoine a2cf5b0889 Add unit tests for WebGL image replay 2014-11-10 11:02:32 +01:00
Éric Lemoine c79f3aa101 Delete WebGL buffers 2014-11-10 09:54:04 +01:00
Éric Lemoine f32c550dbe Better docs for handleMapBrowserEvent 2014-11-09 22:08:29 +01:00
Éric Lemoine bdeb195bfb Add finishDrawing to API
This makes it posssible to programmatically finish drawing.
2014-11-09 20:50:36 +01:00
Éric Lemoine 583f47d24d No need to pass event to finishDrawing_ 2014-11-09 20:49:52 +01:00
Éric Lemoine 97dafa6425 Some explanation to the icon-sprite-webgl example 2014-11-07 18:50:56 +01:00
Éric Lemoine 73e76fe468 Add an assertion to avoid compile error 2014-11-07 16:48:29 +01:00
Éric Lemoine 3268b20333 Make icon-sprite-webgl example usable with Canvas 2014-11-07 10:57:59 +01:00
Éric Lemoine e0c5e742ad Use 30000 points in icon-sprite-webgl example 2014-11-07 10:52:05 +01:00
Éric Lemoine 0a364b32ed Use LINEAR for icon textures 2014-11-07 10:49:58 +01:00
Éric Lemoine c0acc8d825 Add comment describing the vertices sent to GPU 2014-11-07 09:59:56 +01:00
Éric Lemoine 0c6a40f5b5 Support image rotateWithView 2014-11-06 17:16:58 +01:00
Éric Lemoine fb24c68b9c Support image rotation 2014-11-06 15:27:25 +01:00
Éric Lemoine 43756a2d59 Support image scale 2014-11-06 09:47:24 +01:00
Éric Lemoine 64a7cdf372 Implement getImageSize in ol.style.Circle and RegularShape 2014-11-06 09:35:47 +01:00
Éric Lemoine 9029c0fdad Use replay maxExtent center as the coord system origin 2014-11-06 09:24:47 +01:00
Éric Lemoine 8415a0c8ba Fix type for image replay origin 2014-11-04 08:48:43 +01:00
Éric Lemoine 28e51740c6 Address precision/jitter problems
Address precision/jitter problems by using coordinates relative to the Replay max extent rather that the world.
2014-11-03 17:45:50 +01:00
Éric Lemoine 209d39a460 Support image opacity 2014-11-03 16:50:33 +01:00
Éric Lemoine 05bbfd58a8 Support image anchor 2014-11-03 15:40:00 +01:00
Éric Lemoine 46b03e79a4 Merge remote-tracking branch 'upstream/master' into webgl-point 2014-11-03 15:02:22 +01:00
Éric Lemoine 2c92d9a709 Fix drawElement call 2014-11-03 14:54:41 +01:00
Éric Lemoine 14d7f2a797 Delete ImageReplay textures 2014-11-03 14:16:32 +01:00
Éric Lemoine 4534bb8861 Make shaders closer to WebGL image replay 2014-11-03 13:46:34 +01:00
Éric Lemoine 6eea0a1fc6 Improved docs for icon options 2014-10-31 17:16:04 +01:00
Éric Lemoine 495a7c95a1 Clearer comment 2014-10-31 15:42:52 +01:00
Éric Lemoine 64bc8f74be Better typing, fewer arrays 2014-10-31 15:41:25 +01:00
Éric Lemoine 8bff6a1abe Flatten the WebGL replay class hierarchy 2014-10-31 15:23:50 +01:00
Éric Lemoine f332cdacf1 Add an icon sprite webgl example 2014-10-31 11:17:24 +01:00
Éric Lemoine 9201312737 Add support for icon sprites 2014-10-31 11:16:51 +01:00
Éric Lemoine 6fe80c4111 Use correct layer property names 2014-10-28 14:22:27 +01:00
Éric Lemoine 1f54b33961 Add wrapX option to TileJSON source 2014-10-27 17:23:00 +01:00
Éric Lemoine dc7aee1974 Use ternary notation 2014-10-27 17:22:17 +01:00
Éric Lemoine bbea205a9c Use texture to draw points with WebGL 2014-10-27 09:18:19 +01:00
Éric Lemoine 2ecd2eadf7 Remove snap code from synthetic-points example 2014-10-27 09:18:19 +01:00
Éric Lemoine c8225e49b1 Use triangles to draw points with WebGL 2014-10-27 09:18:19 +01:00
Éric Lemoine 9f108391ae Get renderer from query string in vector point examples 2014-10-27 09:18:19 +01:00
Éric Lemoine 33adcd3903 Add very basic webgl vector renderer 2014-10-27 09:18:19 +01:00
Éric Lemoine 6d095bdf7c Add old value to property change events 2014-10-24 09:24:37 +02:00
Éric Lemoine 6d531cdc29 Constrain center in zoomify example 2014-10-16 19:42:26 +02:00
Éric Lemoine 1ce43e323d Add ol.geom.Polygon.fromExtent 2014-10-14 11:32:20 +02:00
Éric Lemoine 141cd6853c Change comments for examples_star_json build target 2014-10-12 11:17:27 +02:00
Éric Lemoine d6afca38c2 Use oli/x.js as input files when compiling examples 2014-10-11 09:04:49 +02:00
Éric Lemoine 8067bc3863 Show how to wrap world in xyz-esri-4326-512 example 2014-10-09 13:35:51 +02:00
Éric Lemoine efd2357d5b Fix typo in xyz-esri-4326-512 example 2014-10-09 13:21:24 +02:00
Éric Lemoine c69974f460 Add more explanations to xyz-esri-4326-512 example 2014-10-09 13:20:51 +02:00
Éric Lemoine b832c42585 Add ol.Observable.unByKey 2014-10-08 14:41:45 +02:00
Éric Lemoine ddbc1d260c Mark ol.style.Image#getImage with @api 2014-09-30 12:26:07 +02:00
Éric Lemoine af7944ef42 Mark ol.style.Image with @api
This is to be able to do `imageStyle instanceof ol.style.Image` in applications.
2014-09-30 12:26:06 +02:00
Éric Lemoine 4c0bfd8905 More restrictive type for ol.style.Icon#getImage 2014-09-30 12:26:06 +02:00
Éric Lemoine c7ac9502bd More restrictive type for ol.style.Circle#getImage 2014-09-30 12:26:06 +02:00
Éric Lemoine 1a856599cb Add tests for ol.interaction.Draw#setMap 2014-09-30 10:00:53 +02:00
Éric Lemoine a31f8a9446 Add tests for ol.interaction.Draw#setActive 2014-09-30 10:00:53 +02:00
Éric Lemoine eb4e72c754 Handle activation/deactivation in draw interaction 2014-09-30 10:00:52 +02:00
Éric Lemoine 4643c71e75 Treat unknown opt types as Object in ol externs 2014-09-29 17:58:04 +02:00
Éric Lemoine dede4f379f Make interaction "active" an ol.Object property 2014-09-29 17:31:58 +02:00
Éric Lemoine 2248d2e012 Skip inactive interactions 2014-09-23 12:37:53 +02:00
Éric Lemoine de319b9ae8 Add ol.interaction.Interaction#setActive and #getActive 2014-09-23 12:37:53 +02:00
Éric Lemoine 6b2a703b35 Use ol.geom.Polygon.circular in ol.Geolocation 2014-09-23 09:43:13 +02:00
Éric Lemoine a94f02e463 Revert "Function circular renamed to createCircularOnSphere"
This reverts commit ac8e7e16c2.
2014-09-23 09:41:03 +02:00
Éric Lemoine f8702e2038 Call loadFeatures from ol.source.ImageVector 2014-09-23 09:36:00 +02:00
Éric Lemoine 23e597eb25 Add maxZoom option to BingMaps 2014-09-22 15:22:31 +02:00
Éric Lemoine ad83f83f2c To do call toLowerCase when forming a change:property event 2014-09-18 18:44:45 +02:00
Éric Lemoine d85d34f3dd Better docs for ol.geom.Polygon#createCircularSphere 2014-09-18 08:48:05 +02:00
Éric Lemoine 122b535393 Better docs for ol.Sphere#offset 2014-09-17 20:22:18 +02:00
Éric Lemoine ac8e7e16c2 Function circular renamed to createCircularOnSphere 2014-09-17 17:59:46 +02:00
Éric Lemoine d335318496 Make ol.Feature#setStyle accept null 2014-09-17 17:52:51 +02:00
Éric Lemoine f7e81f84db Zoom control should not act on a null view 2014-09-17 13:32:45 +02:00
Éric Lemoine 79932ee2f2 Rotate control should not act on a null view 2014-09-17 13:32:31 +02:00
Éric Lemoine 8660f00917 Do not exec animation functions when frameState is null 2014-09-17 12:49:46 +02:00
Éric Lemoine 72e173d925 Rename ol.extent.segmentIntersects to intersectsSegment 2014-09-17 12:26:26 +02:00
Éric Lemoine 79445e993b Add a box feature selection example 2014-09-17 12:26:26 +02:00
Éric Lemoine 227f3bae18 Add ol.source.Vector#forEachFeatureIntersectingExtent 2014-09-17 12:26:26 +02:00
Éric Lemoine 88911200c2 Add ol.geom.GeometryCollection#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 92c2aca480 Add ol.geom.MultiLineString#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 8d7cf7960a Add ol.geom.LineString#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine d1f6f132d6 Add ol.geom.MultiPolygon#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 8bdeca9f0a Add ol.geom.Polygon#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 67f98145bb Add ol.geom.MultiPoint#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine 612cf70560 Add ol.geom.Point#intersectsExtent 2014-09-17 12:17:32 +02:00
Éric Lemoine a740f32e4d Add ol.geom.Geometry#intersectsExtent (abstract method) 2014-09-17 12:17:32 +02:00
Éric Lemoine cdbc1a07be Add ol.geom.flat.intersectsextent
Includes functions for testing if an extent and a geometry intersect.
2014-09-17 12:17:31 +02:00
Éric Lemoine 49fa7c01d4 Add ol.geom.flat.contains.linearRingContainsExtent 2014-09-17 12:17:31 +02:00
Éric Lemoine 3ce6229d34 Add ol.geom.flat.segments.forEach 2014-09-17 12:17:31 +02:00
Éric Lemoine 24321f6feb Add ol.extent.containsXY 2014-09-17 12:17:31 +02:00
Éric Lemoine b5db9db453 Add ol.extent.forEachCorner 2014-09-17 12:17:31 +02:00
Éric Lemoine cb8b896230 Make ol.Map#setView do not accept undefined
With this change map.setView(null) is permitted, but map.setView(undefined) is not. map.getView now always returns a defined value, which may be null is setView was called with null.
2014-09-17 11:47:24 +02:00
Éric Lemoine 83ded37cbc Add an EPSG:3857 map to Tissot example 2014-09-15 18:19:10 +02:00
Éric Lemoine 1bc650a19c Remove Google Maps example 2014-09-12 18:41:33 +02:00
Éric Lemoine 96f7d6323a Change signature of ol.layer.Group#getLayers
This commit changes the signature of ol.layer.Group#getLayers from {ol.Collection.<ol.layer.Base>|undefined} to {!ol.Collection.<ol.layer.Base>}. In this way the caller is guaranteed that getLayers returns a dereferencable object.
2014-09-08 15:45:58 +02:00
Éric Lemoine ff6da7ed79 New domain in the build header 2014-08-29 17:27:52 +02:00
Éric Lemoine f7f4c7b686 Remove @api annotation from ol.sphere.WGS84 2014-08-29 11:57:44 +02:00