Bruno Binet
dddea56c2c
Add a temporary html5 externs file
...
This is needed because the current version of closure compiler we use does not
include externs for valueAsNumber which we now use in ol.dom.Input.
So this backports patch from issue:
https://code.google.com/p/closure-compiler/issues/detail?id=1060
This patch should be reverted when the next closure compiler release is out
with valueAsNumber externs.
2013-08-13 11:31:58 +02:00
Bruno Binet
2dd6321c74
Fix bind-input example to use valueAsNumber
2013-08-13 11:31:58 +02:00
Bruno Binet
afee1ab975
Add VALUE_AS_NUMBER property to ol.dom.Input
...
This should be used when one want to bind a number instead of a string.
2013-08-13 11:31:58 +02:00
ahocevar
5673feb48f
Merge pull request #885 from ahocevar/wms-getfeatureinfo
...
Implement WMS GetFeatureInfo
2013-08-08 07:44:04 -07:00
ahocevar
f1e01511b9
Fixing example title
...
Thanks @bartvde for catching this.
2013-08-08 15:55:37 +02:00
ahocevar
2f37816608
Use X, Y or I, J depending on WMS version
...
This also adds consistency - Pixel coordinates are now always
rounded to integers.
2013-08-08 14:43:49 +02:00
Tim Schaub
bfff0197d7
Merge pull request #894 from tschaub/more-geojson
...
Allowing all GeoJSON types to be read as an array of features. This makes the parser more useful when used with a source that may not already be a feature collection.
2013-08-08 05:41:11 -07:00
ahocevar
c1746f2549
No array needed for a single event
...
Thanks @bartvde.
2013-08-08 13:19:26 +02:00
Tim Schaub
254f325f29
Provide a method for parsing any GeoJSON as an array of features
2013-08-07 11:50:37 -06:00
Tim Schaub
1f588821b4
Merge pull request #892 from tschaub/symbolizer-opacity
...
Separate fill and stroke opacity.
2013-08-07 07:52:49 -07:00
Tom Payne
9fdcfedd96
Merge pull request #893 from twpayne/plovr-81ed862
...
Use plovr-81ed862
2013-08-06 07:05:46 -07:00
Tom Payne
05c950156a
Use plovr-81ed862
2013-08-06 15:20:43 +02:00
Tim Schaub
c2cc1af2ac
Separate opacity in examples
2013-08-05 11:32:48 -06:00
Tim Schaub
5d0b4563a8
Optionally stroke and fill polygons ( closes #475 )
...
This also removes the unsupported width property from PolyStyle (closes #891 ).
2013-08-05 11:16:49 -06:00
Tim Schaub
993e76e3a1
Support fillOpacity and strokeOpacity on polygon symbolizers
2013-08-05 11:16:49 -06:00
Tim Schaub
f210d6d0e1
Rename line symbolizer opacity to strokeOpacity for consistency
...
We already have strokeColor and strokeWidth. Having strokeOpacity makes sense.
2013-08-05 11:16:49 -06:00
Tim Schaub
1cedea6606
Support fillOpacity and strokeOpacity on shape symbolizers
2013-08-05 11:16:48 -06:00
Tim Schaub
2a1ece194d
Merge pull request #890 from tschaub/attributions
...
Move attribution constants to constructors.
2013-08-05 07:43:23 -07:00
ahocevar
759e6ff925
Merge pull request #880 from openlayers/parser-projection
...
Get source projection from parser
2013-08-05 00:57:27 -07:00
Tim Schaub
c764d76aee
Move attributions constant to constructor
2013-08-04 13:31:37 -06:00
ahocevar
cc29ea912b
Updating the TopoJSON parser to return a ReadFeaturesResult
2013-08-04 15:10:11 +02:00
ahocevar
9578da0cfb
Renaming readFeaturesWithMetadata* back to readFeatures*
...
Since this is not exported and we do not have a counterpart that
does not return the metadata, it should be fine to use a shorter
name.
2013-08-04 15:10:11 +02:00
ahocevar
0aed05a413
Renaming handleWriteOptions to applyWriteOptions
2013-08-04 15:10:10 +02:00
ahocevar
3ebbdbb48f
Use goog.functions.sequence
2013-08-04 15:10:10 +02:00
Bart van den Eijnden
b66f4aef07
make Travis happy
2013-08-04 15:10:10 +02:00
Bart van den Eijnden
8d997f17ec
forgot to remove a commented code block
2013-08-04 15:10:10 +02:00
Bart van den Eijnden
17fefda8fd
implement GMLReadOptions and GMLWriteOptions as discussed with @ahocevar
2013-08-04 15:10:10 +02:00
Bart van den Eijnden
2f4f508d1a
move srsName and axisOrientation from the instance to the read and write functions as discussed with @ahocevar
2013-08-04 15:10:10 +02:00
ahocevar
6f3fa14c53
Sensible axisOrientation and srsName defaults
2013-08-04 15:10:09 +02:00
ahocevar
023d3faf3c
Do not translate projections using regular expressions
2013-08-04 15:10:09 +02:00
ahocevar
e32da90f5a
Fixing typo
...
Thanks @bartvde for spotting this.
2013-08-04 15:10:09 +02:00
ahocevar
56e8b1cfb4
Get projection and axis order from GML data
...
To make tests pass, the winding order of the coordinates in the
test data had to be reversed to conform to common gml practice.
2013-08-04 15:10:09 +02:00
ahocevar
109ec71877
Using single argument for callback and string for projection
...
This makes the asynchronous and synchronous versions of
readFeatures work with the same data structures, and leaves
projection handling outside the parsers.
2013-08-04 15:10:09 +02:00
Bart van den Eijnden
a4ceb41938
fix up KML tests
2013-08-04 15:10:09 +02:00
Bart van den Eijnden
33dd188f9b
fix up the geojson tests
2013-08-04 15:10:08 +02:00
Bart van den Eijnden
7b31ec26ea
fix up build
2013-08-04 15:10:08 +02:00
ahocevar
0168c2e46f
Better interface for passing projection and other metadata
2013-08-04 15:10:08 +02:00
ahocevar
b0c1ef04a1
Implementing getProjection for KML and GPX
2013-08-04 15:10:08 +02:00
ahocevar
55697dea28
getProjection method on parsers
...
With this, vector sources/layers do not need to make
assumptions on the data projection.
2013-08-04 15:10:08 +02:00
ahocevar
82a158bdd2
Merge pull request #889 from ahocevar/advanced-param
...
check-examples target failing because of G+ widgets
2013-08-04 06:09:25 -07:00
ahocevar
da2fd4f80f
Append '?mode=advanced' for advanced mode to avoid G+ inclusion
2013-08-04 14:38:55 +02:00
ahocevar
58949ed856
Adding tests, and fixing an issue revealed by the tests
2013-07-31 23:42:08 +02:00
Frédéric Junod
e732b744b7
Merge pull request #864 from fredj/upgrade_font-awesome
...
Upgrade Font Awesome to version 3.2.1
2013-07-31 09:21:53 -07:00
ahocevar
5acff857e7
Add example, and use getFeatures in other examples
...
The new dedicated getfeatureinfo example shows how to combine
feature info from a WMS and a vector layer. The other examples
that previously used getFeatureInfo from vector layers now use
the more appropriate getFeatures.
2013-07-31 17:47:16 +02:00
Tim Schaub
b839cea4de
Merge pull request #844 from tschaub/topojson
...
Parser for reading TopoJSON topologies.
2013-07-31 08:33:46 -07:00
ahocevar
4dd148a731
Implementing GetFeatureInfo for WMS
2013-07-31 12:10:02 +02:00
ahocevar
f333acc183
Interface for GetFeatureInfo
...
When a source implements this interface, the layer renderer can
access the source to get feature info.
2013-07-31 12:09:39 +02:00
ahocevar
5307e5ea3f
Until we know what we want to return, return undefined
2013-07-31 11:58:45 +02:00
ahocevar
53765ebd0f
Merge pull request #878 from ahocevar/polygon-labels
...
Better label placement for polygons
2013-07-30 01:04:44 -07:00
ahocevar
b2e25c8f6b
Renaming method to getInteriorPoint
...
as suggested by @tschaub. Also giving credit to JTS.
2013-07-30 09:25:24 +02:00