Commit Graph
100 Commits
Author SHA1 Message Date
Marc Jansen b664847591 Add export symbols. 2012-06-22 16:26:19 +02:00
Marc Jansen 396875c719 A centroid method for LineStrings 2012-06-22 16:26:19 +02:00
Marc Jansen 483c431e1b A centroid method vor Collections 2012-06-22 16:26:19 +02:00
Marc Jansen 73e07df544 Give geometrues a centroid method. 2012-06-22 16:26:19 +02:00
Marc Jansen e23b119059 Whitespace changes only. 2012-06-22 16:26:19 +02:00
Marc Jansen 09d7f15fb2 Give points a getCentroid/centroid method. 2012-06-22 16:26:19 +02:00
Marc Jansen 1456e234e2 Whitespace changes only. 2012-06-22 16:26:19 +02:00
Marc Jansen 5a3dad9326 Add a basic geometry interface 2012-06-22 16:26:19 +02:00
Marc Jansen 07021d367b Handmade exports for multipoints. 2012-06-22 14:13:14 +02:00
Marc Jansen dc686c3d07 Handmade exports for linestrings. 2012-06-22 14:13:14 +02:00
Marc Jansen 11aedf710b Test restructuring. No functional change. 2012-06-22 13:07:52 +02:00
Marc Jansen f143f32a6f Use ol.error instead of throwing directly. 2012-06-22 12:37:10 +02:00
Marc Jansen f6a728b074 Do not loose URL-parameters passed to jasmine. 2012-06-22 12:14:35 +02:00
Marc Jansen 67ce7afe67 Export the Collection constructor. 2012-06-22 09:45:05 +02:00
Marc Jansen bed71db109 Export the LineString constructor. 2012-06-22 09:44:21 +02:00
Marc Jansen 9a533aeb7d Export the MultiPoint constructor. 2012-06-22 09:41:37 +02:00
Marc Jansen 3a40925a7d API point fixed (using ADVANCED compilation) 2012-06-22 09:36:58 +02:00
Marc Jansen 45917504b0 Fix the geom tests to only use API methods. 2012-06-22 09:18:12 +02:00
Marc Jansen 8f90db58dc MultiPoints shall only contain points. 2012-06-21 18:23:37 +02:00
Marc Jansen 340caf2720 Collections cannot contain Collections.
By having both the constructor and the setComponents checking
a white- and a blacklist for allowed types, we ensure that no
Collections can be added through these methods to the list of
components.
2012-06-21 18:23:37 +02:00
Marc Jansen ce49bb8876 Add LineString/linestring.
The inhertance of this class might change in the future.
2012-06-21 16:00:08 +02:00
Marc Jansen 745ae25b6b Change the inhertance of MultiPoint/multipoint. 2012-06-21 16:00:08 +02:00
Marc Jansen 0374d1abc7 Add geom.Collection & geom.collection.
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Marc Jansen f85d6402e9 Add MultiPoint and multipoint. 2012-06-21 12:19:42 +02:00
Marc Jansen 958e291545 Quoting properties for external use.
See also 1ac40021bb.
2012-06-20 17:57:27 +02:00
Marc Jansen a9d280a317 Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-20 17:45:00 +02:00
Marc Jansen 94fe46c5be Remove stray ')' 2012-06-20 17:43:54 +02:00
Marc Jansen eb690951ab Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-20 16:52:33 +02:00
Marc Jansen b49c036ae2 Make the testuite configurable via URL. 2012-06-20 16:49:51 +02:00
Marc Jansen edc2773147 Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-20 15:42:43 +02:00
Marc Jansen 6b8cd1216f Easier getter/setter for geom.point. 2012-06-20 15:42:10 +02:00
Marc Jansen 0ccbb8e6d0 Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-20 14:59:18 +02:00
Marc Jansen d933404df8 Make Points transformable. 2012-06-20 14:58:37 +02:00
Marc Jansen 33c2e0aa30 Correct the tests for geom.Point and geom.point.
Add tests for the API version `ol.point()`; adjust the tests for the internal
`new ol.Point()`.
2012-06-20 13:36:07 +02:00
Marc Jansen cdcf3ef5a4 remove the coordinate mixin. 2012-06-20 12:06:55 +02:00
Marc Jansen ac2a0bbccd Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-20 11:30:43 +02:00
Marc Jansen 85f0f43b7b Saving state prior to spec moving. 2012-06-20 11:30:06 +02:00
Marc Jansen 41df32df9a Merge branch 'master' of https://github.com/openlayers/ol3 2012-06-20 11:19:48 +02:00
Marc Jansen aec8f953e5 Remove the mixin approach and give the Point class a projection. 2012-06-20 11:18:07 +02:00
Marc Jansen 073c636cb2 Removed interfaces package and introduced coord package. 2012-06-20 11:17:13 +02:00
Marc Jansen 450f8f7b74 First state of a geom package. 2012-06-19 18:21:21 +02:00
Marc Jansen b1e26fab1d change indentation. 2012-06-19 10:56:01 +02:00
Marc Jansen a6fa08550f change indentation. 2012-06-19 10:51:16 +02:00
Marc Jansen c04ae35498 change indentation. 2012-06-19 10:49:44 +02:00
Marc Jansen 4c07332c8a Merge pull request #515 from gravitystorm/patch-4
fix typo
2012-06-09 03:07:24 -07:00
Marc Jansen 5794502f98 Replace tabs in example with spaces. No functional change. 2012-05-29 22:03:25 +02:00
Marc Jansen 366faf6871 Merge pull request #423 from marcjansen/no-$
Remove the aliasing of OpenLayers.Util.getElement to window.$
2012-05-29 12:52:27 -07:00
Marc Jansen acb9f950df Use document.getElementById in examples.
Previously examples would either use the now deprecated `window.$` or the
non-API-method `OpenLayers.Util.getElement`. This was well caught by @probins
and @elemoine.
2012-05-29 21:47:22 +02:00
Marc Jansen ea76d24f4c Merge pull request #450 from fbuchinger/patch-2
simplified jquery mobile example
2012-05-14 23:50:49 -07:00
Marc Jansen 042ad8d711 Minors in the notes file. 2012-04-25 09:37:37 +02:00
Marc Jansen 9bbc1d4318 Update notes for 2.13 about deprecation of window.$ 2012-04-25 09:31:22 +02:00
Marc Jansen a0d0180e03 Readd tests for the now deprecated window.$ 2012-04-25 09:29:52 +02:00
Marc Jansen de97975144 Readd the window.$ mapping in the deprecated.js file 2012-04-25 09:28:43 +02:00
Marc Jansen c56a861ec7 Merge branch 'master' of https://github.com/openlayers/openlayers into no-$ 2012-04-25 09:16:27 +02:00
Marc Jansen c4a087d4dd Merge pull request #436 from mpriour/cql_deps
Add required OpenLayers.Filter deps to OpenLayers.Format.CQL
2012-04-24 23:47:58 -07:00
Marc Jansen e70ee09a4d Merge branch 'master' of https://github.com/openlayers/openlayers into no-$ 2012-04-20 23:45:37 +02:00
Marc Jansen 1691d4a71f Minor API doc enhancement 2012-04-21 00:23:41 +03:00
Marc Jansen e690f28517 replace tab with spaces 2012-04-21 00:14:24 +03:00
Marc Jansen 326598a75c Merge pull request #361 from sdikiy/patch-1
accurate calculation of the centroid for small objects with large coordinates (p=sdikiy,r=marcjansen,sbrunner)
2012-04-03 11:58:57 -07:00
Marc Jansen 0cc81202a1 Add missing requires directive for OpenLayers.Format.WMSGetFeatureInfo. 2012-03-15 08:20:11 +01:00
Marc Jansen d122ebcf4e Merge pull request #286 from marcjansen/imgpath
Declare ImgPath property of OpenLayers in OpenLayers.js (r=@elemoine,@ahocevar)
2012-03-06 23:02:25 -08:00
Marc Jansen c9dbebf4aa ImgPath should not be an an APIProperty in SingleFile.js. 2012-03-06 20:34:46 +01:00
Marc Jansen e8744edd24 Minor formatting of API doc comments. 2012-03-06 08:39:00 +01:00
Marc Jansen 36886a2bc5 Better documentation for the property ImgPath of OpenLayers. 2012-03-06 08:33:39 +01:00
Marc Jansen 3cee434199 Also add the declaration of ImgPath to SingleFile.js. 2012-03-06 08:08:09 +01:00
Marc Jansen 0cd3b6553e Be consistent when aliasing OpenLayers.Util.getElement in examples. 2012-03-05 22:36:28 +01:00
Marc Jansen 5af323dc51 No need to mockup a custom $-method in test anymore. 2012-03-05 22:34:17 +01:00
Marc Jansen 5c2c39c9dd Fix the examples that used our '$' method. 2012-03-05 22:27:43 +01:00
Marc Jansen de2eeaab0b Fix up a test that used our $(). 2012-03-05 22:26:11 +01:00
Marc Jansen ece872b81a Remove our aliasing of OpenLayers.Util.getElement to window.$. 2012-03-05 22:23:57 +01:00
Marc Jansen 25bba1c937 Remove not needed document.getElementById in test. 2012-03-05 21:41:39 +01:00
Marc Jansen 8f0280e8bd Add two trivial tests for the presence and default
value of OpenLayers.ImgPath.
2012-03-05 21:23:40 +01:00
Marc Jansen 768ad0108d Move the declaration of OpenLayers.ImgPath from Util.js to OpenLayers.js. 2012-03-05 21:00:05 +01:00
Marc Jansen 1ef5cfd9a0 fix link to NaturalDocs 2012-03-02 21:30:05 +01:00
Marc Jansen 631f6b5d3d Merge pull request #218 from marcjansen/testsuite-fixes
Testsuite fixes
2012-02-28 04:32:36 -08:00
Marc Jansen 03ba4dac88 Remove superfluous comment closing (*/), thanks @mprins. 2012-02-16 21:43:36 +01:00
Marc Jansen 67ea250cca Fix a Control.OverviewMap test that failed in Firefox 10.0.1 (Linux). 2012-02-15 14:11:54 +01:00
Marc Jansen 79540f346d Reformatting of testfile prior to fixing failing test in Firefox 10.0.1.
No functional change.
2012-02-15 11:09:45 +01:00
Marc Jansen 436301c9ed Fix Format.XML test where a defined variable wasn't used. This resulted in an
"DOM Exception: INVALID_CHARACTER_ERR (5)" in Chrome 17.
2012-02-15 10:44:34 +01:00
Marc Jansen c776dac2c2 Make precision in test configurable. 2012-02-15 10:02:33 +01:00
Marc Jansen 5faea8e083 Fix Strategy.BBOX test that failed due to mixed precision of coordinates. 2012-02-15 09:54:58 +01:00
Marc Jansen 48a47b993a Fix a Format.WKT test that failed due to rounding / precision of values. 2012-02-15 09:38:57 +01:00
Marc Jansen 52931daf32 Fix spelling in test-function. No functional change. 2012-02-15 09:14:31 +01:00
Marc Jansen c6312b613b correct a typo in release notes CSS example 2012-02-10 23:55:51 +01:00
Marc Jansen 015f5f95f6 Merge pull request #158 from drnextgis/master
Fix documentation error. Thanks @drnextgis
2012-01-18 23:53:05 -08:00
Marc Jansen 0d820bf63f Merge pull request #57 from marcjansen/proj4js-example
Added an example that shows how to use the popular Proj4JS library.
2011-11-20 23:02:27 -08:00
Marc Jansen f8255e61d8 Better textual explanation and fewer typos. 2011-11-19 13:12:05 +01:00
Marc Jansen c0138022fa Added an example that shows how to use the popular Proj4JS library. 2011-11-18 23:48:20 +01:00
Marc Jansen 760d5a584c Reverse QUERY_LAYERS order in GetFeatureInfo requests. r=bartvde (closes #3253) 2011-10-09 15:53:12 +02:00
Marc Jansen 8bcbb069b5 Remove global variable 'headerKey', no functional change. 2011-09-22 04:52:35 +02:00
Marc Jansen 6b30856a07 Give our requests the popular but non-standard X-Requested-With
header (r=crschmidt, closes #3491).
2011-09-22 02:57:39 +02:00
Marc Jansen 91f610f19c revert my commit rights test (dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf) 2011-09-20 05:50:45 +02:00
Marc Jansen fef5f899f4 testing commit rights 2011-09-18 18:11:56 +03:00
Marc Jansen 57c16b7345 Various enhancements to the testsuite:
- split resources of the suite (CSS, HTML, !JavaScript)
  - dedicated files for our changes to the suite
  - CSS enhancements (e.g. hover colors)
  - a simple quicksearch/filter for the list of testfiles (Only for browsers that support querySelectorAll)
  - links to the testfiles to easily bypass browser cache
  - running time info panel
  - detailed total number of testcases that failed/were ok

Non-functional change (closes #3507)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12378 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 17:36:14 +00:00
Marc Jansen a8e99486b8 Revert my accidental commit [12335].
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 19:26:02 +00:00
Marc Jansen 6006a12720 - switch to 900913
- add google 
- add osm
- fix numerous smaller bugs
- smaller refactorings


git-svn-id: http://svn.openlayers.org/trunk/openlayers@12335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 14:57:05 +00:00
Marc Jansen 0020e79412 API documentation improvement. No functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12200 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-29 09:45:29 +00:00
Marc Jansen 5c603c0abb Correct spelling in documentation. Non functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12199 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-29 09:38:02 +00:00
Marc Jansen fde51d90a7 Correct spelling in documentation. Non functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12198 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-29 09:36:35 +00:00
Marc Jansen aef34f2475 add method OpenLayers.LonLat.fromArray for API-consistency. r=bartvde, p=me (closes #3443)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12197 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-29 09:24:07 +00:00