Commit Graph

30 Commits

Author SHA1 Message Date
Xavier Mamano
b7dee9ca6d Some problems in the documentation detected using "closure_verify" 2012-01-07 19:29:41 +01:00
tschaub
b844a3b11b Happy New Year!
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Éric Lemoine
18ad6643b6 GeoJSON strings should not include internal feature ids, r=bbinet (closes #3313)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12109 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-20 07:47:52 +00:00
Tim Schaub
995d612caa More robust array type check. p=mwootendev, r=me (closes #2959)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12095 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-16 19:16:25 +00:00
Éric Lemoine
fd145c82b1 GeoJSON format output produces invalid CRS, p=hoxworth, r=me (closes #3022)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11876 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-05 07:07:01 +00:00
Frédéric Junod
415aca4763 re-add the Constructor API doc removed in r11640 (see #3147)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11652 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-07 14:13:32 +00:00
Frédéric Junod
315bbcdef3 remove 'empty' initialize method (method that only call the parent class). r=bartvde (closes #3147)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11640 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-07 09:25:17 +00:00
Tim Schaub
ad54169479 Happy New Year.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10995 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-01-03 15:39:40 +00:00
crschmidt
f0d474e50b Change license text to point to "OpenLayers contributors", referencing
authors.txt file. In reality, MetaCarta does not own copyright to these files,
they merely have a right to distribute them under the license terms agreed to
by the contributors. At this point, there is no longer any reference to
MetaCarta as a copyright holder in the OpenLayers project, only to its
individual contributors via the authors.txt file.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@10706 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-09-01 03:06:31 +00:00
Éric Lemoine
2633f9ba88 GeoJSON input should accept 3D coords, p=sgillies, r=me (closes #2070)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9700 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-10-05 09:21:07 +00:00
crschmidt
b0f71c2702 Fix for GeoJSON + Reprojection problems for GeometryCollections. Original
patch/ diagnosis by ibolmo, refactored by me. Includes manual test. 
(Closes #2024)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@9181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-04-03 20:26:35 +00:00
crschmidt
2f367f6b8c OpenLayers.Console is used throughout the code, but not added as a dependancy.
Add @requires statements to pull it in everywhere it is needed. Since Console
is so small -- 634 bytes -- this should have a limited impact on anyone with a
custom build profile. (Closes #1549)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@8948 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-03-05 13:07:42 +00:00
Éric Lemoine
27e9f855e9 Add support for GeoJSON Bounding Box/Envelope, r=crschmidt (closes #1878)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8582 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-01-05 14:23:01 +00:00
crschmidt
397de6fc6a "Format.GeoJSON does not parse features with null geometries", r=elemoine
(Closes #1145)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@7689 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-04 10:38:01 +00:00
Tim Schaub
66a4c6fb0e Caching array length instead of accessing it with each iteration. r=crschmidt (closes #1636)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7627 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-07-31 04:44:25 +00:00
crschmidt
09e0d3ec81 Update copyrights to 2008.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5614 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-01 08:14:55 +00:00
Tim Schaub
33e313b059 Separating jsdoc style docs into their own block. The new NaturalDocs doesn't parse these mixed blocks, giving us no class descriptions with the two together. (closes #1229)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5553 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-21 08:28:09 +00:00
crschmidt
6d6c08fbef Formats now support reprojection using internalProjection and
externalProjection properties. These allow for the reprojection of data --
OpenLayers users with SphericalMercator get this built in for EPSG:900913, and
other users can use the external proj4js library available from MapBuilder SVN
to add support for any number of projections. This means that featres can be,
for example, transformed from a KML doc in 4326 to Spherical Mercator before
being added to a layer, making using SphericalMercator slightly more enticing. 
r=elemoine
(Closes #1039)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5516 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-19 22:07:12 +00:00
Tim Schaub
35054c4a41 non-functional change - just removing an extra comma from r5435 to appease IE (see #1067)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-16 01:08:46 +00:00
crschmidt
44a6b9b176 GeoJSON should parse and serialize GeometryCollections as a Geometry.Collection
object. (Closes #1067)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5435 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-15 21:45:51 +00:00
crschmidt
abe2a52c31 With a confirmation that Tim is happy considering this a review, I'm going to
go ahead and commit this (relatively lighttweight) patch to the code so that
the projection library base API is there, even though for the most part, it's
not usable yet. This changes map.projection from being a string to being a 
class, with a projCode on it. (Closes #1035)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5401 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-13 23:29:18 +00:00
Paul Spencer
3e9beffc99 large scale syntactic clean up adding missing semi-colons and curly braces around blocks.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5002 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-18 12:27:35 +00:00
crschmidt
ed3221441c Refactor SVN layout in compliance with RFC/LicenseChange. This hopefully
completes an important blocker for moving forward with OSGeo incubation. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-17 02:21:22 +00:00
crschmidt
84ab6d9a2f The createCRSObject stuff never really worked. Unfortunately, the tests didn't
catch it because they were all minimal unit tests -- so they never hooked
up features to layers with projections. This fixes the createCRSObject
function, including updated documentation, and includes tests for regression.
(Pullup #1062)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4819 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-04 18:11:15 +00:00
crschmidt
8ddd13db34 GeoJSON format back up to spec with draft 4. (See #1028)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4770 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-03 05:32:18 +00:00
Tim Schaub
1812c7fb0d documenting requirements for format classes (see #983).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4352 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-17 16:44:33 +00:00
crschmidt
4b3a13bd92 fix copyright dates on json/geojson.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4257 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-13 10:30:37 +00:00
Tim Schaub
c2148651ed Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns (closes #945).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:44:10 +00:00
euzuro
b5ef77096c wiki/NaturalDocs says we should be using 'Return:' and not 'Returns:' so this patch is fixing that. Of course, in the process, I came across not a few instances where other ND related whitespace or typos were at odds with a peaceful, uniform OL codebase. No functional changes here, just makin' things pretty.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4109 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:08:32 +00:00
Tim Schaub
ab73cc3f79 #915 Adding support for GeoJSON vector format. Many thanks to Chris for the exhaustive tests on this one.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3994 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-23 16:29:03 +00:00