Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine 12c96510c1 Use olx options ns in icon and geojson examples 2013-12-13 13:43:51 +01:00
Éric Lemoine 35d5158454 Merge remote-tracking branch 'upstream/master' into vector-api
Conflicts:
	src/objectliterals.jsdoc
	src/ol/attribution.js
	src/ol/geom/geometry.js
	src/ol/geom/geometrycollection.js
	src/ol/geom/linestring.js
	src/ol/layer/vectorlayer.exports
	src/ol/layer/vectorlayer.js
	src/ol/map.js
	src/ol/proj/proj.js
	src/ol/renderer/canvas/canvasvectorlayerrenderer.js
	src/ol/source/imagewmssource.js
	src/ol/source/tilewmssource.js
	src/ol/source/vectorsource.exports
	src/ol/source/vectorsource.js
	src/ol/source/wmssource.js
	src/ol/style/style.js
	src/ol/tilegrid/tilegrid.js
	src/ol/tilegrid/wmtstilegrid.js
	src/ol/tilegrid/xyztilegrid.js
2013-12-13 12:53:57 +01:00
Éric Lemoine f79ab25617 Make forEachFeatureAtPixel work with layer groups 2013-12-13 11:58:23 +01:00
Éric Lemoine 7fa3a38081 external/src/types.js file no longer exists 2013-12-12 16:57:39 +01:00
Éric Lemoine b709820777 Use olx for some parser options types 2013-12-12 15:22:47 +01:00
Éric Lemoine f15694844d Line is too long 2013-12-12 15:22:18 +01:00
Éric Lemoine f95e0eb785 Treat WMSGetFeatureInfoOptions as other options types 2013-12-12 15:21:49 +01:00
Éric Lemoine 7732c19874 Some options types are defined in the code
The sed script caught those, so manually adjusting here.
2013-12-12 15:19:37 +01:00
Éric Lemoine cf14d4e41d Add @typedefs to externs file 2013-12-12 15:06:05 +01:00
Éric Lemoine 7b81bfab5c Change @exportClass to @exportSymbol
sed command used: find src/ol -name '*.exports' -exec sed -ri 's/@exportClass\s+(\S+)\s+(\S+)$/@exportSymbol \1/' \{\} \;
2013-12-12 15:05:52 +01:00
Éric Lemoine d9e293109e Change @exportFunction to @exportSymbol
sed command used: find src/ol -name '*.exports' -exec sed -ri 's/@exportFunction\s+(\S+)\s+(\S+)\s+(\S+)$/@exportSymbol \1 \1/' \{\} \;
2013-12-12 15:05:39 +01:00
Éric Lemoine 315c42f0a7 Use olx namespace for options types in source code
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
2013-12-12 15:02:03 +01:00
Éric Lemoine ef703c7147 Use olx namespace in src/objectliterals.jsdoc
sed comment used: sed -ri 's/ol(\.\S*Options)/olx\1/' src/objectliterals.jsdoc
2013-12-12 15:02:02 +01:00
Éric Lemoine 875b5e1c0e File types.js no longer an input for ol.js 2013-12-12 15:02:02 +01:00
Éric Lemoine a1b7d512eb File types.js no longer an input for ol-whitespace.js 2013-12-12 15:02:02 +01:00
Éric Lemoine f5481ac2f5 File types.js no longer an input for ol-simple.js 2013-12-12 15:02:02 +01:00
Éric Lemoine ff49b89f62 File types.js no longer an input for ol-all.js 2013-12-12 15:02:02 +01:00
Éric Lemoine cfb3e7310f No longer generate src/external/src/types.js 2013-12-12 15:02:02 +01:00
Éric Lemoine 701b2d63ef Add gutter support to ol.renderer.webgl.TileLayer 2013-12-12 10:59:32 +01:00
Éric Lemoine 5c71ec4922 Add gutter support to ol.renderer.dom.TileLayer 2013-12-12 10:59:32 +01:00
Éric Lemoine 2db8ce566b Add gutter support to ol.renderer.canvas.TileLayer 2013-12-12 10:59:32 +01:00
É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
Éric Lemoine 829381fd43 Always fill polygons for hit detection 2013-12-11 16:16:02 +01:00
Éric Lemoine ac2a3cd1e8 Rename replayForward functions to replay 2013-12-11 16:16:02 +01:00
Éric Lemoine 8712509300 Rename replayBackward functions to replayHitDetection 2013-12-11 16:16:02 +01:00
Éric Lemoine 3019933cb6 Rename reverseInstructions_ function to reverseHitDetectionInstructions_ 2013-12-11 16:16:02 +01:00
Éric Lemoine 86995a8cb4 Rename reversedInstructions array to hitDetectionInstructions 2013-12-11 16:16:02 +01:00
Éric Lemoine fda2217166 Hit detect rotated features 2013-12-11 15:01:58 +01:00
Éric Lemoine fafb7e487e Add ol.render.FeaturesOverlay 2013-12-10 11:03:10 +01:00
Éric Lemoine 15db1eb416 Use reversedInstructions for hit detection 2013-12-09 14:08:55 +01:00
Éric Lemoine 30c0aa3cc2 Replay objects create a reversedInstructions array 2013-12-09 14:08:55 +01:00
Éric Lemoine 3877f87a26 Add ol.MapBrowserEvent#getBrowserEvent 2013-12-09 12:29:05 +01:00
Éric Lemoine 0d0b19128f Add ol.array.reverseSubArray 2013-12-08 21:35:27 +01:00
Éric Lemoine 6b9bc9d8e8 Use hit detection in vector-layer example
The hit detection code doesn't correctly play well with the skiping of geometries using the renderGeometryFunction. Features/geometries that are not rendered by the replay API are not detected by the hit detection mechanism. For that reason, until we find a solution, we don't use renderGeometryFunction in the vector-layer example.
2013-12-02 15:06:19 +01:00
Éric Lemoine 24e7a81ae5 Detect when mouse is over marker in icon example 2013-12-02 15:06:19 +01:00
Éric Lemoine 53ecc8edb6 Add popup back to icon example 2013-12-02 15:06:19 +01:00
Éric Lemoine a1e1393f44 Add hit detection to synthetic-points example 2013-12-02 15:06:19 +01:00
Éric Lemoine 374d5f99f6 Add ol.Map#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine 6f423726a9 Add ol.renderer.Map#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine 65c922f580 Add ol.renderer.canvas.VectorLayer#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine e9843ced57 Add ol.renderer.Layer#forEachFeatureAtPixel 2013-12-02 15:06:19 +01:00
Éric Lemoine a537814169 Add hit detection support to replay API 2013-12-02 15:06:19 +01:00
Éric Lemoine 09a88569a8 Add per-geometry mode to replay API 2013-12-02 15:06:19 +01:00
Éric Lemoine b98ff1619d Add getRenderGeometryFunction_ 2013-12-02 15:06:18 +01:00
Éric Lemoine e358321b92 The iRender draw functions are passed a data object 2013-12-02 15:06:18 +01:00
Éric Lemoine 2211aec553 Use rBush.getAll and rBush.getAllInExtent 2013-11-27 15:54:00 +01:00
Éric Lemoine 1192162792 Merge branch 'master' into vector-api 2013-11-27 15:40:22 +01:00
Éric Lemoine 8f361e35dd Do not draw non-loaded icons 2013-11-27 10:03:23 +01:00
Éric Lemoine 82e03ea508 Add an icon example 2013-11-26 16:32:03 +01:00
Éric Lemoine 9365c227ab Make icon size optional 2013-11-26 16:19:57 +01:00
Éric Lemoine 519e2539cc Export ol.icon.renderIcon 2013-11-26 15:33:27 +01:00
Éric Lemoine 83293651b7 Add ol.icon.renderIcon 2013-11-26 15:33:27 +01:00
Éric Lemoine 0a4fd29c10 Add icon support to canvas vector renderer 2013-11-26 15:25:32 +01:00
Éric Lemoine b1a123a927 Shapes are loaded images 2013-11-26 15:23:55 +01:00
Éric Lemoine 189a859dde Export ol.style.Image options 2013-11-26 15:21:51 +01:00
Éric Lemoine 29009d27f3 Make ol.style.Image loadable 2013-11-26 15:20:04 +01:00
Éric Lemoine 1d8fefe683 Adapt styleFunction in vector-layer example 2013-11-26 14:19:24 +01:00
Éric Lemoine 972deebbc6 Adapt styleFunction in synthetic-points example 2013-11-26 14:19:24 +01:00
Éric Lemoine 9be03b2e3a Use ol.style.Style in synthetic-points example 2013-11-26 14:19:24 +01:00
Éric Lemoine 305be3c689 Adapt styleFunction in synthetic-lines example 2013-11-26 14:19:24 +01:00
Éric Lemoine 82aa5cc675 Adapt styleFunction in rtree example 2013-11-26 14:19:24 +01:00
Éric Lemoine 39af934e71 Adapt styleFunction in geojson example 2013-11-26 14:19:24 +01:00
Éric Lemoine 317294756a Style function takes a resolution arg 2013-11-26 14:19:24 +01:00
Éric Lemoine 3820caade1 Style function returns an array of styles 2013-11-26 14:19:24 +01:00
Éric Lemoine 6ca2fef0a3 Always same format for color strings 2013-11-22 17:02:59 +01:00
Éric Lemoine b78bcce8ab Draw a temporary point in geojson example 2013-11-22 17:01:55 +01:00
Éric Lemoine 95826cd3c8 Add FIXME 2013-11-22 17:01:55 +01:00
Éric Lemoine 34ce9e478d Store raw style values in immediate objects
This commit also uses default style values (e.g.  ol.render.canvas.defaultStrokeFill) when no value is defined by the user.
2013-11-22 17:01:54 +01:00
Éric Lemoine 68caa8141c Fix typo in replay code 2013-11-22 16:36:06 +01:00
Éric Lemoine c4731ff37b Use canvas style default values 2013-11-22 11:49:14 +01:00
Éric Lemoine 2a122f057c Rename currentFillColor to currentFillStyle 2013-11-22 11:49:14 +01:00
Éric Lemoine d3ad1a7506 Add canvas style default values 2013-11-22 11:49:14 +01:00
Éric Lemoine 92a34d380b Make setting image rotation and subtractViewRotation optional 2013-11-22 11:49:13 +01:00
Éric Lemoine 66bda92597 Make setting stroke color and width optional 2013-11-22 11:49:13 +01:00
Éric Lemoine 3655d15f61 Make setting a fill color optional 2013-11-22 11:49:13 +01:00
Éric Lemoine 381eef2cfb Simplify style setting in geojson example 2013-11-21 23:06:01 +01:00
Éric Lemoine ff66a60e5e Export ol.webgl.Context
It's used in the layer-clipping-webgl example
2013-11-21 23:04:37 +01:00
Éric Lemoine d973c40141 Export getAllFeaturesAtCoordinate 2013-11-21 23:04:37 +01:00
Éric Lemoine 43a903d98b Make vector-layer example work when hosted 2013-11-21 23:04:37 +01:00
Éric Lemoine ed79da6c0c Add vector tag to geojson example 2013-11-21 23:02:25 +01:00
Éric Lemoine 4b91065f00 Make dynamic-data example work when hosted 2013-11-21 23:02:25 +01:00
Éric Lemoine 082d126544 synthetic-data example renamed to synthetic-points 2013-11-21 23:02:24 +01:00
Éric Lemoine c0eb7bb1f6 Store raw style values for ImageReplay 2013-11-21 12:15:38 +01:00
Éric Lemoine 5493543c1f Store raw style values for PolygonReplay 2013-11-21 12:15:37 +01:00
Éric Lemoine 0ccd1ef217 Store raw style values for LineStringReplay 2013-11-21 12:15:37 +01:00
Éric Lemoine 93087c7661 Remove unused ol.style.Text width property 2013-11-20 15:48:11 +01:00
Éric Lemoine 38bc0a28a6 Export ol.style.Style 2013-11-20 15:35:11 +01:00
Éric Lemoine e783703854 Export ol.style.Text 2013-11-20 15:35:11 +01:00
Éric Lemoine dc49cc4c2f Export ol.style.Stroke 2013-11-20 15:35:11 +01:00
Éric Lemoine 3971425677 Export ol.style.Image 2013-11-20 15:35:11 +01:00
Éric Lemoine 6e2f907e09 Export ol.style.Fill 2013-11-20 15:35:11 +01:00
Éric Lemoine 16f3d5879e Use new ol.style in vector-layer example 2013-11-20 15:35:11 +01:00
Éric Lemoine 7d9b09b4ac Use new ol.style in synthetic-lines example 2013-11-20 15:35:11 +01:00
Éric Lemoine ddb2786394 Use new ol.style in synthetic-data example 2013-11-20 15:35:11 +01:00
Éric Lemoine 6db824baa4 Use new ol.style in rtree example 2013-11-20 15:35:10 +01:00
Éric Lemoine 602fd7f13a Use new ol.style in geojson example 2013-11-20 15:35:10 +01:00
Éric Lemoine db7ce8e657 Use new ol.style in dynamic-data example 2013-11-20 15:35:10 +01:00
Éric Lemoine 644748860b Remove the previous ol.style types and functions 2013-11-20 15:35:10 +01:00