Commit Graph

14372 Commits

Author SHA1 Message Date
Petr Pridal 1a933febcd Add tilePixelRatio option to ol.source.XYZ 2014-07-11 12:03:55 +02:00
Éric Lemoine 2b4b2dadf7 Be stricter with the type of ol.source.TileWMS#_urls 2014-07-11 12:03:02 +02:00
Antoine Abt aafa578805 Merge pull request #2159 from tonio/attributions
Merge Logo control into Attribution
2014-07-11 11:48:21 +02:00
Antoine Abt e707e918aa Use @api annotation 2014-07-11 10:31:03 +02:00
Antoine Abt 1c8fc8358a Remove reference to ol-logo 2014-07-11 10:31:03 +02:00
Antoine Abt f0f9291161 Add attributions example
Showing how to dynamically change collapsed/collapsible properties for ≠
map sizes.
2014-07-11 10:31:03 +02:00
Antoine Abt 4f087f1b84 Add getter/setter for collapsed & collapsible 2014-07-11 10:18:56 +02:00
Antoine Abt 6744713a54 Register button handlers the new way 2014-07-11 10:18:56 +02:00
Antoine Abt d5d5f58809 Do not collapse Attributions when using OSM source 2014-07-11 10:18:55 +02:00
Antoine Abt 4d150e6b84 Move Logos in attributions 2014-07-11 09:53:25 +02:00
Antoine Abt da74fbf529 Remove Logo Control 2014-07-11 09:53:25 +02:00
Antoine Abt aeaa172abe Remove Logo Control from defaults 2014-07-11 09:36:14 +02:00
Antoine Abt 5a1e92830f Make attribution control collapsible. 2014-07-11 09:36:14 +02:00
Tim Schaub 521cbfb1b0 Make internal proj constructors private 2014-07-10 16:37:07 -06:00
Andreas Hocevar 121d19e0ba Merge pull request #2333 from ahocevar/better-proj4-check
Check for proj4 in a way that also works in module environments
2014-07-10 20:36:52 +02:00
Andreas Hocevar 1d26c1faaf Check for proj4 in a way that also works in module environments 2014-07-10 20:23:33 +02:00
Andreas Hocevar 512c2032ed Merge pull request #2330 from ahocevar/proj4-global
Safeguard against cases where no projection and no proj4 is available
2014-07-10 18:53:26 +02:00
Éric Lemoine 31fa59c996 Merge pull request #2329 from tsauerwein/multipolygon-empty-array
Also accept empty array for ol.geom.MultiPolygon
2014-07-10 18:35:43 +02:00
Andreas Hocevar 19757ae3e0 Safeguard against cases where no projection and no proj4 is available 2014-07-10 18:32:29 +02:00
tsauerwein 7c22d8ffd4 Also accept empty array for ol.geom.MultiPolygon 2014-07-10 17:18:24 +02:00
Bart van den Eijnden ea7c32ff6e Merge pull request #2255 from elemoine/complexgeom
Fix canvas immediate API for cases where stride ≠ 2
2014-07-10 17:03:57 +02:00
Bart van den Eijnden 60c7564268 Add test case for 3D geometries in immediate API 2014-07-10 16:51:07 +02:00
Éric Lemoine d57a35ffcb Fix stride related bug in Canvas immediate API 2014-07-10 14:21:56 +02:00
Paul Spencer 9dc17230c2 Merge pull request #2323 from pagameba/fix-addfeatures
ServerVector addFeaturesInternal fails when features lack an id
2014-07-10 08:08:54 -04:00
Paul Spencer a02d21d4b5 Allow addFeaturesInternal to add multiple features lacking an id 2014-07-10 07:32:20 -04:00
Andreas Hocevar 9640a08c0e Merge pull request #1228 from ahocevar/new-proj4js
Use the new proj4.js
2014-07-10 13:31:17 +02:00
Éric Lemoine a737cf0d99 Merge pull request #2326 from probins/osmxml
Change examples/vector-osm to use transformExtent
2014-07-10 13:20:19 +02:00
Éric Lemoine 7789bff3da Add explanations to wms-custom-proj example 2014-07-10 13:17:24 +02:00
Peter Robins 8e2a12bfc1 Change examples/vector-osm to use transformExtent 2014-07-10 11:07:39 +00:00
Éric Lemoine 4541019ff4 Merge pull request #2325 from elemoine/imagevector
Pass tolerance to ReplayGroup
2014-07-10 11:24:18 +02:00
Éric Lemoine 49b91998f9 Pass tolerance to ReplayGroup
The tolerance instead of the squared tolerance must be passed to the ReplayGroup constructor.
2014-07-10 09:52:13 +02:00
Andreas Hocevar 193adf4401 Move Swiss transform functions to the .js file 2014-07-09 21:24:42 +02:00
Andreas Hocevar 1ae82b054c Revert to only accept ol.proj.Projection as argument 2014-07-09 18:12:07 +02:00
Andreas Hocevar 1bb5705b55 Clean up after testing 2014-07-09 18:11:22 +02:00
Andreas Hocevar 8f1fdde26e Show both Proj4js and custom transform functions in examples 2014-07-09 18:09:23 +02:00
Éric Lemoine 4cf8383820 Avoid a type-cast 2014-07-09 17:51:24 +02:00
Andreas Hocevar fc3ed93080 Use proj4.js from node_modules/ instead of copying it to build/ 2014-07-09 15:33:13 +02:00
Andreas Hocevar 0a01f8ef7e Simplify ol.proj.addCoordinateTransforms
Equivalent projections do not need to be handled here, and the forward
and inverse functions can be function arguments instead of being nested
in an object literal.
2014-07-09 15:33:13 +02:00
Andreas Hocevar 90c745006d Update to use the documented Proj4js 2.2.x API 2014-07-09 15:33:12 +02:00
Andreas Hocevar a22d7e4d22 Allow Proj4js to be loaded after OpenLayers 2014-07-09 15:33:12 +02:00
Andreas Hocevar 20e903f8d9 Add proj4 to package.json 2014-07-09 15:32:54 +02:00
Paul Spencer f1bdaed15a Merge pull request #2177 from pagameba/geometry-api
Add @todo api and describe ol.geom.Geometry funcs
2014-07-09 07:23:32 -04:00
Paul Spencer 4bcbda61c6 Merge pull request #2298 from probins/props
Document that options in layers and properties in features are set as object properties
2014-07-09 07:21:53 -04:00
Peter Robins b396773183 Improve docs for tilegrid 2014-07-09 06:54:24 -04:00
Peter Robins 17d059f7bb Document that layer options are set as object properties 2014-07-09 06:40:28 -04:00
Peter Robins 9915bb873c Document that feature properties are set as object properties 2014-07-09 06:39:42 -04:00
Paul Spencer befcc4ceea Merge pull request #2204 from probins/dragbox
Correct/improve dragbox docs
2014-07-08 19:40:55 -04:00
Andreas Hocevar 88ab1ac61a Doc changes suggested by @probins 2014-07-08 22:06:21 +02:00
Andreas Hocevar 8b2277cdda Use proj4.defs instead of proj4.Proj, to conform with the proj4js API 2014-07-08 22:06:21 +02:00
Andreas Hocevar 0c62469f50 Update example to show transparent proj4js integration 2014-07-08 22:06:21 +02:00