Commit Graph

11523 Commits

Author SHA1 Message Date
Frédéric Junod
bd876831ed Merge pull request #1306 from fredj/canvas-size
ol.BrowserFeature.DEVICE_PIXEL_RATIO and canvas size
2013-11-23 14:14:53 -08:00
ahocevar
cf5e9ecd4f Segment distance calculation fails when modifying points
By providing a segment even for points, we have less distinction
points between points and other geometry types, and are able to
do the segment distance calculation also for points.
2013-11-23 11:49:42 +01:00
ahocevar
86a5749b36 Merge pull request #1308 from ahocevar/wms-getfeatureinfo-options
Add missing WMSGetFeatureInfo exports
2013-11-22 08:22:14 -08:00
ahocevar
9d9c91bbf7 Add missing WMSGetFeatureInfo exports 2013-11-22 17:11:44 +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
4bae4f3b90 Merge pull request #1285 from elemoine/clik_zoomslider
Handle click on the zoom slider
2013-11-22 02:48:38 -08:00
Tom Payne
9396df54c3 Always use a defined renderGeometryFunction, thanks @elemoine 2013-11-22 11:34:42 +01:00
Tom Payne
fd48b06dc0 Skip rendering highlighted feature in vector-layer example 2013-11-22 11:34:42 +01:00
Tom Payne
13ed52d9e8 Add FIXME 2013-11-22 11:34:42 +01:00
Tom Payne
32833a15bb Implement skipping of LineString and MultiLineString geometries 2013-11-22 11:34:42 +01:00
Tom Payne
a9af504a19 Factor out ol.render.canvas.LineStringReplay#setStrokeStyle_ 2013-11-22 11:34:42 +01:00
Tom Payne
1cccdfa9db Implement skipping of Point and MultiPoint geometries 2013-11-22 11:34:42 +01:00
Tom Payne
8b6f71f7f6 Factor out beginGeometry and endGeometry 2013-11-22 11:34:42 +01:00
Tom Payne
297251661a Implement skipping of Polygon and MultiPolygon geometries 2013-11-22 11:34:41 +01:00
Tom Payne
d05530290f Add BEGIN_GEOMETRY instruction 2013-11-22 11:34:41 +01:00
Tom Payne
a570261886 Pass renderGeometryFunction to ol.render.canvas.ReplayGroup 2013-11-22 11:34:41 +01:00
Tom Payne
b11c34261b Rename renderFeatureFunction to renderGeometryFunction 2013-11-22 11:34:41 +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
Marc Jansen
22a90232be Merge pull request #1307 from marcjansen/right-align
Better formatted output for formatted sizes.
2013-11-21 13:40:43 -08:00
Marc Jansen
ed986afe26 Better formatted output for formatted sizes. 2013-11-21 22:26:11 +01:00
Tom Payne
602f9642d4 Use ol.style.Style in GeoJSON example 2013-11-21 20:25:43 +01:00
Tom Payne
55a43c9a98 Use ol.style.Style and construct style object once 2013-11-21 18:22:01 +01:00
Frederic Junod
ed211d5631 Use ol.style.Stroke and ol.style.Fill instances in vector-layer example 2013-11-21 18:05:18 +01:00
Frederic Junod
6762e70f4c Better canvas sizing handling (canvas and webgl) 2013-11-21 17:08:49 +01:00
Frederic Junod
71d3fc4921 Add ol.BrowserFeature.DEVICE_PIXEL_RATIO constant 2013-11-21 17:06:57 +01:00
Frederic Junod
c0ad472984 Add missing 'undefined' in jsdoc type definition 2013-11-21 14:48:49 +01:00
Frederic Junod
76a908d00c Split anchor ImageReplay property into anchorX and anchorY 2013-11-21 14:30:55 +01:00
Frederic Junod
db8f476098 Add ol.style.Image.size property 2013-11-21 14:27:04 +01:00
Frederic Junod
c715764680 Change ol.style.Image.anchor property type to ol.Pixel 2013-11-21 14:11:59 +01:00
Frederic Junod
04b91f3627 Add ol.BrowserFeature.DEVICE_PIXEL_RATIO constant 2013-11-21 14:08:49 +01:00
Frederic Junod
a7bb02b49c Better canvas sizing handling (canvas and webgl) 2013-11-21 14:05:28 +01:00
Tom Payne
f09de84011 Fix typo 2013-11-21 12:31:23 +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