Commit Graph

15529 Commits

Author SHA1 Message Date
Bart van den Eijnden
86b9a8869b Exports for ol.format.GML and ol.format.WFS 2014-05-27 15:30:46 +02:00
Frederic Junod
8db43a969b Fix formating issue in doc 2014-05-27 15:05:34 +02:00
Frederic Junod
2bd1234359 Export ol.format.OSMXML#readProjection 2014-05-27 14:31:27 +02:00
Frederic Junod
4c9463cdcc Export ol.format.OSMXML#readFeatures 2014-05-27 14:31:27 +02:00
Éric Lemoine
ac934c4564 Merge pull request #2028 from oterral/immediate_icon
Load the icon when needed in feature overlay
2014-05-27 14:09:52 +02:00
Bart van den Eijnden
27712a902d Merge pull request #2120 from bartvde/workshop
Move workshop reference to doc index
2014-05-27 13:53:49 +02:00
Bart van den Eijnden
bf8e949955 Move workshop reference to doc index 2014-05-27 09:17:52 +02:00
oterral
db5b443bbd Load the icon when needed in ol.FeatureOverlay 2014-05-27 09:17:38 +02:00
Frederic Junod
47f99f64ef Mark ol.format.GPX#readProjection as a function 2014-05-27 08:30:48 +02:00
Andreas Hocevar
7732a10bbf Merge pull request #2116 from ahocevar/no-imagestyle
Do not make ol.style.Image exportable
2014-05-27 08:02:51 +02:00
Tim Schaub
d41e2dff14 Merge pull request #2115 from tschaub/duplicate-id
Give features unique identifiers.
2014-05-26 16:15:15 -06:00
Andreas Hocevar
605b8278ea Do not make ol.style.Image exportable
Application developers should use its subclasses.
2014-05-26 19:26:58 +02:00
Tim Schaub
9323bbdcd0 Give Somaliland and Northern Cyprus unique ids 2014-05-26 10:31:27 -06:00
Frédéric Junod
c273c1d51c Merge pull request #2019 from fredj/device-orientation-example
Add an extent constraint to the device-orientation example
2014-05-26 13:54:56 +02:00
Frederic Junod
c15987a14d Add constrainCenter documentation 2014-05-26 13:44:01 +02:00
Frederic Junod
ff1a9d420d Add an extent constraint to the device-orientation example 2014-05-26 13:37:33 +02:00
Frederic Junod
824302349d Export ol.View2D.prototype.constrainCenter function 2014-05-26 13:37:33 +02:00
Éric Lemoine
b14e0d0330 Merge pull request #2111 from probins/patch-1
Tasks readme: update url for new compiler FAQ
2014-05-25 19:36:18 +02:00
Peter Robins
a0cfdb1990 Tasks readme: update url for new compiler FAQ
As changed on closure-util https://github.com/openlayers/closure-util/pull/17 - just realised this link is here too.
2014-05-25 17:39:23 +01:00
Éric Lemoine
8cd5f6d642 Merge pull request #2109 from elemoine/visibleandinrange
Hit detection respects min and maxResolution
2014-05-25 14:43:44 +02:00
Éric Lemoine
fd8a46dcae Hit detection respects min and maxResolution 2014-05-25 14:35:07 +02:00
Tim Schaub
df5b41862b Merge pull request #2110 from probins/patch-1
Apidoc readme: minor change.
2014-05-24 09:50:49 -06:00
Peter Robins
2aa97957cc Apidoc readme: minor change
so comments rendered correctly
2014-05-24 12:40:45 +01:00
Tim Schaub
92d8dd918b Merge pull request #2087 from tschaub/id-index
Add method for retrieving features by id.
2014-05-23 17:05:11 -06:00
Tim Schaub
a2b81d6bd0 Disallow adding the same feature twice 2014-05-23 16:52:11 -06:00
Tim Schaub
652f11cefa Provide a method for retrieving features by id 2014-05-23 16:35:07 -06:00
Tim Schaub
34cabd1579 Dispatch change on feature id change 2014-05-23 16:35:06 -06:00
Tim Schaub
305e9b0df1 Merge pull request #2107 from tschaub/null-or-undef
Account for null or undefined geometry.
2014-05-23 16:30:33 -06:00
Tim Schaub
2898151206 Merge pull request #2108 from tschaub/simple
Remove simple build profile.
2014-05-23 12:26:11 -06:00
Tim Schaub
25aefbeff5 Remove simple build profile
This was inadvertently added in d163f60e34 (see #2075).  Thanks @probins for the heads up.
2014-05-23 10:20:24 -06:00
Tim Schaub
097909516a Account for null or undefined geometry
The change in #2098 made it so a feature's geometry could be undefined.  This is consistent with the return type for the getGeometry method.  Where calling code needs to ensure that it has a geometry instance, it can use instanceof, goog.isDefAndNotNull(), or test for a truthy value.
2014-05-23 10:00:15 -06:00
Andreas Hocevar
0e7f86ea17 Merge pull request #2072 from ahocevar/no-oli-docs
Do not include oli.* symbols in the API documentation
2014-05-23 10:52:49 +02:00
Andreas Hocevar
f903849882 Remove all docstrings from oli.js
Instead, make sure that the properties are documented in the
implementing class.
2014-05-22 18:00:10 +02:00
Andreas Hocevar
547334e211 Move oli.* stability notes to the corresponding ol.* symbol 2014-05-22 16:01:35 +02:00
Andreas Hocevar
2caa1139a1 Move object literals defined in ol3 to a separate section 2014-05-22 15:51:41 +02:00
Andreas Hocevar
08cdeaacb4 Clean up api.js 2014-05-22 15:51:21 +02:00
Andreas Hocevar
eb6a938062 Do not document object literals as interfaces
Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
2014-05-22 15:48:47 +02:00
Andreas Hocevar
e050c905e2 Do not include oli.* symbols in the inheritance chain 2014-05-22 15:48:46 +02:00
Tim Schaub
81523091f0 Merge pull request #2099 from tschaub/update-deps
Update dependencies.
2014-05-21 15:04:39 -06:00
Tim Schaub
be03ec5aa1 Update dependencies
* closure-util@0.12.0 - force inclusion of deps.js files when compiling
 * jshint@2.5.1 - various enhancements and fixes (https://github.com/jshint/jshint/compare/2.4.4...2.5.1)
 * walk@2.3.3 - directory exclusion fix
2014-05-21 12:08:46 -06:00
Bart van den Eijnden
db35a85710 Merge pull request #2090 from bartvde/wfs-update
Create valid XML in ol.format.WFS and ability to specify srsName (r=@ahocevar)
2014-05-21 19:04:05 +02:00
Bart van den Eijnden
28d122e21e Write out valid WFS Transaction XML and ability to specify srsName 2014-05-21 17:58:53 +02:00
Tim Schaub
98193c0336 Merge pull request #2098 from tschaub/empty-feature
Do not set geometry by default.
2014-05-21 09:52:09 -06:00
Frédéric Junod
9e7bfda9f7 Merge pull request #2096 from fredj/unused-require
Remove unused goog.require
2014-05-21 17:36:29 +02:00
Tim Schaub
9341e98374 Merge pull request #2093 from bjornharrtell/fix_opt_dest2
Assign to provided array instead of pushing when getting a linestring midpoint.
2014-05-21 09:28:06 -06:00
Bart van den Eijnden
a36bffae49 Merge pull request #2097 from bartvde/geojson-geometryname
Ability to specify geometryName on ol.format.GeoJSON (r=@tschaub)
2014-05-21 17:26:02 +02:00
Tim Schaub
a4d31147bc Do not set geometry by default
A feature can have a geometry whose value is an ol.geom.Geometry instance or null.  A feature can also have no geometry property.  By default, a feature has no geometry property.  To set a geometry, one can be passed to the constructor (including null) or passed to setGeometry().
2014-05-21 09:16:54 -06:00
Bart van den Eijnden
8eef633abc Ability to specify geometryName on ol.format.GeoJSON 2014-05-21 16:44:18 +02:00
Frederic Junod
2f918ea2a4 Remove unused goog.require 2014-05-21 16:06:32 +02:00
Andreas Hocevar
dca88668ab Merge pull request #2095 from ahocevar/test-geometry-name
Test that a custom geometry works
2014-05-21 15:08:47 +02:00