Commit Graph

244 Commits

Author SHA1 Message Date
Frederic Junod
01a246ca72 Add devicePixelRatio option to ol.Map constructor 2013-12-16 12:15:00 +01:00
Tom Payne
e6becd3e92 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-13 21:35:29 +01:00
Frederic Junod
f5ba373208 Minor apidoc updates 2013-12-13 19:02:21 +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
93e605b119 Merge pull request #1350 from elemoine/gutter
Add gutter support to ol.source.TileWMS
2013-12-13 01:11:42 -08:00
Éric Lemoine
f95e0eb785 Treat WMSGetFeatureInfoOptions as other options types 2013-12-12 15:21:49 +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
fd438f232b Add gutter option to ol.source.TileWMS 2013-12-12 10:59:31 +01:00
Tom Payne
df975aa558 Add ol.source.GeoJSON 2013-12-11 14:14:32 +01:00
Tom Payne
28c7ecc014 Add ol.source.VectorFile 2013-12-11 14:14:32 +01:00
Tim Schaub
3e905d804c Merge pull request #1335 from tschaub/geometry-type
Change geometry type enum and mark as stable.
2013-12-10 08:50:54 -08:00
Tom Payne
ecf9ace190 Add ol.format.GeoJSON 2013-12-10 15:35:50 +01:00
Tom Payne
ed5b8b6512 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-10 12:54:27 +01:00
ahocevar
8328db26d4 Set the srs name when writing GetFeature
Also make clear that srsName is only optional for WFS 1.0.0.
2013-12-09 16:57:11 +01:00
Tom Payne
87f147db60 Merge pull request #1341 from twpayne/mapguide-clean-ups
Tidy up ol.source.MapGuide and add ratio option
2013-12-06 12:50:43 -08:00
ahocevar
951e874914 Merge pull request #1339 from ahocevar/wfs-transaction
Transaction handling and exports for the WFS parser
2013-12-06 12:26:12 -08:00
Tom Payne
43e4292ec9 Tidy up ol.source.MapGuide and add ratio option 2013-12-06 18:11:01 +01:00
Tom Payne
0a5cc8812c Merge pull request #1236 from jumpinjackie/master
MapGuide untiled map support
2013-12-06 08:59:57 -08:00
ahocevar
e49464a573 No native element on GetFeature queries 2013-12-06 16:49:44 +01:00
ahocevar
b3b9add06e Add Insert, Update and Delete writers
This change also adds some type annotations for better type
checking, introduces different write options for writing
transactions and queries, and provides new writeGetFeature and
writeTransaction methods.
2013-12-06 10:57:58 +01:00
Tim Schaub
2f7fa8f442 Using PascalCase for geometry enum values
This adds a bit more inconsistency to the library, but we didn't have complete consistency before.  Almost all existing string enum values are lowercase (a couple are camelCase and one is dash-separated).  The closure library isn't consistent either (with case for enum properties or values).  I imagine this could be justified in saying someone could blindly use GeoJSON type values in places, but in the end, you'll need to read the docs before guessing right.
2013-12-05 14:40:26 -07:00
Frederic Junod
c36920774a Add fill and stroke properties to ol.style.Text 2013-12-02 11:05:24 +01:00
Frederic Junod
1bf2d94968 Add rotation property to ol.style.Text 2013-12-02 10:55:37 +01:00
Frederic Junod
0908490385 Add lineDash property to ol.style.Stroke 2013-11-28 13:47:31 +01:00
Frederic Junod
bf9cd0a675 Add miterLimit property to ol.style.Stroke 2013-11-28 11:49:56 +01:00
Frederic Junod
0bd77d3caf Add lineJoin property to ol.style.Stroke 2013-11-28 11:31:06 +01:00
Frederic Junod
b210073ef0 Add lineCap property to ol.style.Stroke 2013-11-28 09:36:54 +01:00
Tim Schaub
8cc4ae8dbd Separate load requests from feature requests
This separates the action of requesting an extent to be loaded from the action of requesting cached features.  The renderer (or any other consumer of a vector source) calls load to request a data extent.  A `featureload` event fires when new features are loaded.  The renderer (or any other consumer) separately asks for cached features given an extent.  This vector source only loads features once, but this separation will also work with sources that make multiple requests for data in different extents.

This also removes the `data` option from the vector source in favor of a `features` option.  Since we no longer have shared data structures for geometries, people can manually create features and pass them to a vector source.  The `addFeatures` method is exported as well.  This is used to add features to a source that don't have a representation on the "remote" (or server).
2013-11-27 12:22:32 -07:00
Tom Payne
424f8fcc6d Merge remote-tracking branch 'openlayers/master' into vector-api 2013-11-27 13:10:20 +01:00
Éric Lemoine
189a859dde Export ol.style.Image options 2013-11-26 15:21:51 +01:00
Bart van den Eijnden
d02af43161 Merge pull request #1130 from bartvde/sld3
Add Styled Layer Descriptor (SLD) version 1.0.0 parser (read/write) (r=@ahocevar)
2013-11-25 01:56:16 -08:00
Bart van den Eijnden
e15dbb61f6 Merge pull request #1294 from bartvde/gmlgeom
GML parser should write out all geometry attributes and respect their names (r=@ahocevar)
2013-11-25 00:36:51 -08:00
ahocevar
9d9c91bbf7 Add missing WMSGetFeatureInfo exports 2013-11-22 17:11:44 +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
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
6e88d3ba3c Minor apidoc updates 2013-11-21 10:52:00 +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
Bart van den Eijnden
053d80180d have the GML parser read and write out multiple geometry attributes with their correct name 2013-11-20 14:57:00 +01:00
Tom Payne
0fa8692b1b Add ol.format.GeoJSONOptions 2013-11-20 11:42:02 +01:00
Tom Payne
711917db62 Add ol.layer.Vector 2013-11-20 11:41:09 +01:00
Tom Payne
61a217e8dd Add ol.source.GeoJSON 2013-11-20 11:41:07 +01:00
Tom Payne
db40842487 Add ol.source.Vector 2013-11-20 11:41:07 +01:00
Tom Payne
bd82e1aa1a Remove vector code from files 2013-11-20 11:41:04 +01:00