Tim Schaub
2b50734d0b
Merge pull request #2839 from tschaub/publish
...
Dependency updates and new package name.
2014-10-14 14:44:01 -06:00
Tim Schaub
26006418a8
Package metadata
2014-10-14 14:32:58 -06:00
Tim Schaub
dd665c7e9e
New package name and updated dependencies
2014-10-14 14:32:58 -06:00
Tim Schaub
9597a383e8
Merge pull request #2840 from tschaub/point-resolution
...
Fewer point resolution tests.
2014-10-14 14:29:50 -06:00
Tim Schaub
081f3689b1
Quarter the number of test cases to avoid timeout
2014-10-14 13:58:19 -06:00
Tim Schaub
8b3677967d
Use getMetersPerUnit
2014-10-14 13:45:23 -06:00
Éric Lemoine
323886cdda
Merge pull request #2836 from oterral/styles_prority
...
Give priority to feature's style instead of source's style
2014-10-14 20:53:28 +02:00
oterral
345c5c5eb7
Give priority to feature's style instead of source's style
2014-10-14 17:39:51 +02:00
Frédéric Junod
a121d4c568
Merge pull request #2834 from fredj/compiler_mode_name_doc
...
Use ADVANCED instead of ADVANCED_OPTIMIZATIONS
2014-10-14 14:12:36 +02:00
Frederic Junod
f277b5c9a5
Use ADVANCED instead of ADVANCED_OPTIMIZATIONS
...
ADVANCED_OPTIMIZATIONS is deprecated (but still accepted)
2014-10-14 14:01:31 +02:00
Tim Schaub
0a8c218b8a
Merge pull request #2833 from tschaub/less-fuzzy
...
Avoid too many files open with graceful-fs@3.0.3.
2014-10-13 23:34:23 -06:00
Tim Schaub
edb28d6a47
A tiny bit more deterministic
2014-10-13 23:02:46 -06:00
Tim Schaub
c3c81caf4b
Merge pull request #2829 from tschaub/slider
...
Zoom slider refactor.
2014-10-13 16:33:54 -06:00
Tim Schaub
d2bea2692c
Renaming for clarity
2014-10-13 10:29:33 -06:00
Tim Schaub
c1afd513b7
Account for the thumb size when handling clicks
2014-10-13 10:13:50 -06:00
Tim Schaub
9dd5b611c7
Give container ol-control class and tidy css
2014-10-13 09:22:21 -06:00
Tim Schaub
26be3a5450
Example style update
2014-10-13 08:42:45 -06:00
Tim Schaub
b8369ad3f0
Allow thumb to range over the entire container size
2014-10-13 08:40:51 -06:00
Tim Schaub
6f20afeba9
Set interaction hint while dragging
2014-10-12 19:16:49 -06:00
Tim Schaub
d45283c55e
Animate from the current resolution
2014-10-12 18:59:58 -06:00
Tim Schaub
164407bc83
(x - 1) * -1 == 1 - x
2014-10-12 18:21:27 -06:00
Tim Schaub
dc0ff2eee8
Merge pull request #2757 from tschaub/new-extent
...
Clear the canvas on layer extent changes.
2014-10-12 10:35:15 -06:00
Tim Schaub
6fdc35e379
Merge pull request #2796 from tschaub/lazy-size
...
Determine image size on load.
2014-10-12 10:31:46 -06:00
Éric Lemoine
4970d143b0
Merge pull request #2825 from elemoine/oli-olx
...
Change comments for examples_star_json build target
2014-10-12 12:59:15 +02:00
Éric Lemoine
141cd6853c
Change comments for examples_star_json build target
2014-10-12 11:17:27 +02:00
Tim Schaub
e1ee3474bf
Unregister listener
2014-10-11 18:49:12 -06:00
Tim Schaub
7129a08e0b
Clear the canvas on layer extent changes
2014-10-11 18:22:18 -06:00
Tim Schaub
49796090fa
Allow renderer to load the image
2014-10-11 18:16:14 -06:00
Tim Schaub
ede37f26f7
Let image resolution be calculated when the image loads
2014-10-11 18:08:48 -06:00
Tim Schaub
ddc3dbaa87
If image size is not provided, determine resolution on load
2014-10-11 18:08:48 -06:00
Tim Schaub
63f126a528
The imageExtent option is required
2014-10-11 18:08:48 -06:00
Éric Lemoine
389d36e4bd
Merge pull request #2822 from gingerik/externs-as-source
...
Remove obsolete comment
2014-10-11 11:43:33 +02:00
Erik Timmers
6cf5f204c5
Add explanation on using externs as input
2014-10-11 10:35:20 +02:00
Éric Lemoine
d6afca38c2
Use oli/x.js as input files when compiling examples
2014-10-11 09:04:49 +02:00
Éric Lemoine
4c63609749
Merge pull request #2769 from adube/overviewmap
...
OverviewMap control
2014-10-09 19:33:45 +02:00
Éric Lemoine
1357ef295e
Merge pull request #2820 from oterral/labelstyle
...
Add parsing of LabelStyle in KML format
2014-10-09 19:02:27 +02:00
oterral
9aeb9849fb
Add parsing of LabelStyle in KML format
2014-10-09 16:48:49 +02:00
Alexandre Dubé
efbeba3bb9
Add overviewmap-custom example, complex use case
2014-10-09 10:10:47 -04:00
Alexandre Dubé
f17bb1a852
Add overviewmap example, simple use case
2014-10-09 10:10:27 -04:00
Alexandre Dubé
ddc6138dbf
Add OverviewMap control
2014-10-09 10:10:14 -04:00
Éric Lemoine
5c514b36dd
Merge pull request #2819 from elemoine/xyz-esri
...
Improvements to the xyz-esri-4326-512 example
2014-10-09 13:59:34 +02:00
Éric Lemoine
8067bc3863
Show how to wrap world in xyz-esri-4326-512 example
2014-10-09 13:35:51 +02:00
Éric Lemoine
efd2357d5b
Fix typo in xyz-esri-4326-512 example
2014-10-09 13:21:24 +02:00
Éric Lemoine
c69974f460
Add more explanations to xyz-esri-4326-512 example
2014-10-09 13:20:51 +02:00
Éric Lemoine
c1259aacab
Merge pull request #2743 from elemoine/drawinteraction
...
Handle ol.interaction.Draw activation/deactivation
2014-10-08 16:01:10 +02:00
Andreas Hocevar
27160be639
Merge pull request #2816 from gberaudo/exit_on_check_examples_failure
...
Exit on check-examples failure
2014-10-08 15:18:37 +02:00
Éric Lemoine
d1973a040f
Merge pull request #2794 from elemoine/unbykey
...
Add ol.Observable.unByKey
2014-10-08 15:14:12 +02:00
Guillaume Beraudo
5adcaa3487
Exit on check-examples failure
...
Should avoid Travis to pass even though there are errors.
Waiting for the check-examples to finish to get all the errors.
It may also be necessary in order to free system resources like file
descriptors.
2014-10-08 14:46:42 +02:00
Éric Lemoine
b832c42585
Add ol.Observable.unByKey
2014-10-08 14:41:45 +02:00
Frédéric Junod
0858017085
Merge pull request #2815 from fredj/leftover-2756
...
Fix jquery.min.js path in xyz-esri-4326-512 example
2014-10-08 14:33:42 +02:00
Frederic Junod
bb1f51e5f0
Fix jquery.min.js path in xyz-esri-4326-512 example
2014-10-08 14:27:21 +02:00
Bart van den Eijnden
19cba46b38
Merge pull request #2756 from bartvde/ESRI_Imagery_World_2D
...
Add an example for using an Esri 512x512 tile server in EPSG:4326 (r=@elemoine)
2014-10-08 13:44:12 +02:00
Bart van den Eijnden
2321ed64bc
Add an example for using an Esri 512x512 tile server in EPSG:4326
2014-10-08 13:31:45 +02:00
Frédéric Junod
1f098633e2
Merge pull request #2814 from fredj/css-calc
...
Add missing whitespaces in CSS calc
2014-10-08 10:52:36 +02:00
Frederic Junod
2139e4455a
Add missing whitespaces in CSS calc
...
See http://dev.w3.org/csswg/css-values/#calc-syntax
2014-10-08 10:40:27 +02:00
Frédéric Junod
3dcba3bf15
Merge pull request #2811 from fredj/leftover-2810
...
Remove defaultProjection and object from typedef
2014-10-07 16:24:21 +02:00
Frederic Junod
31bb1ada0a
Remove defaultProjection and object from typedef
...
Leftover from #2810
2014-10-07 16:03:07 +02:00
Frédéric Junod
9d1101c727
Merge pull request #2779 from fredj/resources
...
Update jQuery to 1.9.1
2014-10-07 15:58:28 +02:00
Paul Spencer
8c41e6c720
Merge pull request #2810 from pagameba/patch-1
...
Remove unused properties from olx.source.TileVectorOptions
2014-10-07 09:47:12 -04:00
Paul Spencer
816cb44cc2
Remove unused properties from olx.source.TileVectorOptions
2014-10-07 09:25:29 -04:00
Frédéric Junod
352d7071f7
Merge pull request #2808 from fredj/reprojectTo
...
Remove reprojectTo option from olx.source.OSMXMLOptions
2014-10-07 13:50:33 +02:00
Frédéric Junod
44c300bfef
Merge pull request #2809 from fredj/button-cleanup
...
Miscellaneous controls cleanups
2014-10-07 13:37:27 +02:00
Frederic Junod
be6c6ee93c
Remove unused ResetRotation name attribute
2014-10-07 12:25:41 +02:00
Frederic Junod
0cf83c2047
Add missing 'button' type attribute to html button
2014-10-07 12:25:01 +02:00
Frederic Junod
ec129f5778
Rename reprojectTo option to projection
2014-10-07 11:41:59 +02:00
Frederic Junod
4c1d2f8c86
Remove reprojectTo option from olx.source.OSMXMLOptions
...
Leftover from #1640
2014-10-07 10:41:32 +02:00
Éric Lemoine
90fb83b95e
Merge pull request #2805 from sweco-sebhar/patch-2
...
Enable subclassing Interaction in public API
2014-10-07 09:30:28 +02:00
Björn Harrtell
59cc2ac736
Enable subclassing Interaction in public API
2014-10-07 09:15:25 +02:00
Frédéric Junod
ee4ca5bd2c
Merge pull request #2798 from fredj/update-closure-util
...
Update closure-util to version 1.0.0
2014-10-06 18:29:57 +02:00
Andreas Hocevar
6b437701a8
Merge pull request #2785 from ahocevar/export-goog
...
Use goog.* types in externs
2014-10-06 16:50:02 +02:00
Andreas Hocevar
66234a73ba
Use goog.* types in externs
...
To have an externs file as accurate as possible, we also need to use
types that are provided by the Closure library.
2014-10-06 14:20:59 +02:00
Frederic Junod
04e7a81b1e
Update closure-util to version 1.0.0
2014-10-06 13:42:34 +02:00
Éric Lemoine
fa30ba29c9
Merge pull request #2795 from gingerik/externs
...
Externs
2014-10-03 17:16:43 +02:00
Pierre GIRAUD
a1c3d57013
Merge pull request #2792 from pgiraud/gpx_export_chrome
...
Use valid mediatype for GPX export.
2014-10-03 13:50:32 +02:00
Pierre GIRAUD
8f6b49877f
Use valid mediatype for GPX export.
2014-10-03 11:30:44 +02:00
Marc Jansen
6a1d143f9f
Merge pull request #2784 from marcjansen/tag-kml-example
...
Add 'tooltip'-tag to KML example.
2014-10-02 10:23:58 +02:00
Frédéric Junod
24484d5e51
Merge pull request #2782 from fredj/hide-rotate
...
Hide the rotate control when the rotation is 0
2014-10-01 20:47:19 +02:00
Marc Jansen
46db263088
Add 'tooltip'-tag to KML example.
...
Fixes #2708 .
2014-10-01 20:35:21 +02:00
Frederic Junod
6f3b01f3dc
Hide the rotate control when the rotation is 0
...
To prevent the cursor to be displayed as a pointer (only happens with bootstrap)
2014-10-01 19:09:14 +02:00
Erik Timmers
b321501476
Fix namespacing convention
2014-10-01 17:57:53 +02:00
Erik Timmers
b447e1f766
Fix ol externs definitions
...
* Namespaces must be defined;
* Interfaces must be initialized.
2014-10-01 17:52:01 +02:00
Frederic Junod
898f5ac547
Update jquery to 1.9.1
2014-10-01 10:05:06 +02:00
Frederic Junod
078ba2dec0
Move jquery.min.js to resources
2014-10-01 09:59:20 +02:00
Frederic Junod
fa60ec294e
Remove 'examples/bootstrap' path from example filter
...
The directory was moved to resources/bootstrap in 6c5377eebe
2014-10-01 09:50:29 +02:00
Frédéric Junod
7273b501f1
Merge pull request #2774 from fredj/dead-code
...
Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown
2014-10-01 09:10:42 +02:00
Tim Schaub
0acf9662a4
Merge pull request #2771 from tschaub/pre-releases
...
Allow package to be published in npm registry.
2014-09-30 22:51:06 -06:00
Frederic Junod
a3b3e044f5
Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown
...
The object is filled but never used.
2014-09-30 15:08:15 +02:00
Éric Lemoine
6c7a6a7811
Merge pull request #2773 from elemoine/getimage
...
Type-related changes to ol.style.Image
2014-09-30 13:51:01 +02:00
Éric Lemoine
ddbc1d260c
Mark ol.style.Image#getImage with @api
2014-09-30 12:26:07 +02:00
Éric Lemoine
af7944ef42
Mark ol.style.Image with @api
...
This is to be able to do `imageStyle instanceof ol.style.Image` in applications.
2014-09-30 12:26:06 +02:00
Éric Lemoine
4c0bfd8905
More restrictive type for ol.style.Icon#getImage
2014-09-30 12:26:06 +02:00
Éric Lemoine
c7ac9502bd
More restrictive type for ol.style.Circle#getImage
2014-09-30 12:26:06 +02:00
Éric Lemoine
1c7f2ad5cc
Merge pull request #2751 from gberaudo/export-source_source_children
...
Export constructors and options of ol.source.Source children
2014-09-30 11:55:21 +02:00
Éric Lemoine
1a856599cb
Add tests for ol.interaction.Draw#setMap
2014-09-30 10:00:53 +02:00
Éric Lemoine
a31f8a9446
Add tests for ol.interaction.Draw#setActive
2014-09-30 10:00:53 +02:00
Éric Lemoine
eb4e72c754
Handle activation/deactivation in draw interaction
2014-09-30 10:00:52 +02:00
Guillaume Beraudo
67f4e9c817
Export constructors of ol.source.Source children
...
Necessary addition to https://github.com/openlayers/ol3/pull/2749 .
2014-09-30 09:33:55 +02:00
Frédéric Junod
c0fc220298
Merge pull request #2772 from fredj/changefeature
...
Rename updatefeature event to changefeature
2014-09-30 09:27:58 +02:00
Éric Lemoine
0e3b08d493
Merge pull request #2766 from elemoine/interaction-object
...
Make interaction "active" an ol.Object property
2014-09-30 09:04:28 +02:00
Éric Lemoine
5d02760d23
Merge pull request #2765 from elemoine/ol-externs
...
Treat unknown opt types as Object in ol externs
2014-09-30 09:04:18 +02:00
Frederic Junod
cf8738f9f6
Rename updatefeature event to changefeature
2014-09-30 09:02:53 +02:00
Tim Schaub
c868e4bbdd
Allow package to be published in npm registry
...
I've contacted the maintainer of the https://www.npmjs.org/package/openlayers package to see if we can take over ownership. Until then, we can publish packages under the name 'ol'.
2014-09-29 22:27:27 -06:00
Tim Schaub
3285e0ddc8
Merge pull request #2759 from tschaub/test-failures
...
Fix test failures.
2014-09-29 14:09:03 -06:00
Tim Schaub
b6c6dc03a9
Merge pull request #2762 from tschaub/console-report
...
Report test failures to the console.
2014-09-29 14:07:55 -06:00
Tim Schaub
62c0dbb876
Merge pull request #2768 from xamgreen/patch-1
...
Write the function name correctly in the doc.
2014-09-29 14:05:28 -06:00
xamgreen
704d53e589
getProjektion() instead of getprojektion()
...
Just a little error that my confuse some people.
2014-09-29 20:01:47 +02:00
Éric Lemoine
4643c71e75
Treat unknown opt types as Object in ol externs
2014-09-29 17:58:04 +02:00
Éric Lemoine
dede4f379f
Make interaction "active" an ol.Object property
2014-09-29 17:31:58 +02:00
Frédéric Junod
1a4d841a26
Merge pull request #2764 from fredj/remove-rtree-example
...
Remove rtree example
2014-09-29 14:37:41 +02:00
Frederic Junod
ced15e27c1
Remove rtree example
...
Fixes #2732
2014-09-29 13:29:52 +02:00
Frédéric Junod
14e8c098c8
Merge pull request #2763 from fredj/cleanup
...
Miscellaneous coding style and typo fixes
2014-09-29 11:45:14 +02:00
Frederic Junod
98ceee5d28
Fix documentation typo
2014-09-29 09:05:22 +02:00
Frederic Junod
aaeb2b6938
Remove unnecessary parentheses
2014-09-29 09:05:22 +02:00
Frederic Junod
6e3a5ca7ca
Remove unnecessary newlines
2014-09-29 09:05:22 +02:00
Tim Schaub
291b033dbf
Report failures to the console
2014-09-28 22:27:07 -06:00
Tim Schaub
8bded032df
Fix failing GML format test
2014-09-28 15:04:54 -06:00
Tim Schaub
a1bb755123
Fix failing KML format tests
2014-09-28 15:04:49 -06:00
Tim Schaub
abc7848073
Fix failing WKT format tests
2014-09-28 14:44:26 -06:00
Tim Schaub
afd43687f2
Merge pull request #2758 from tschaub/tile-ranges
...
Correctly generate child tile ranges for XYZ tiles.
2014-09-28 13:40:28 -06:00
Tim Schaub
2ad27044a6
Correctly generate child tile ranges for XYZ
...
Instead of incrementing and then doubling, calculate the child tile range by doubling and then incrementing.
With this change, tile coord [0, 0, 0] has the four following children:
[1, 0, 0] [1, 1, 0]
[1, 0, 1] [1, 1, 1]
Without this change, tile coord [0, 0, 0] had the nine following children:
[1, 0, 0] [1, 1, 0] [1, 2, 0]
[1, 0, 1] [1, 1, 1] [1, 2, 1]
[1, 0, 2] [1, 1, 2] [1, 2, 2]
2014-09-28 12:23:12 -06:00
Éric Lemoine
b0b62c6ac3
Merge pull request #2734 from elemoine/bingmaps
...
Add maxZoom option to BingMaps
2014-09-27 22:34:06 +02:00
Éric Lemoine
00800785d4
Merge pull request #2752 from elemoine/loadfeatures
...
Call loadFeatures from ol.source.ImageVector
2014-09-25 15:00:52 +02:00
Frédéric Junod
5f51fbc93d
Merge pull request #2658 from oterral/fix_getcap
...
Set inherited values when parsing a GetCapabilities
2014-09-25 13:51:40 +02:00
Frédéric Junod
884fb5736c
Merge pull request #2750 from fredj/export-layer-base
...
Export ol.layer.Base
2014-09-25 10:58:04 +02:00
Frédéric Junod
9fd0b53b02
Merge pull request #2749 from fredj/export-source-source
...
Export ol.source.Source
2014-09-25 10:42:08 +02:00
Frederic Junod
48b9475bb6
Export ol.layer.Base
...
See #2615
2014-09-25 10:40:03 +02:00
Frederic Junod
4e5120ff71
Export ol.source.Source
...
Fixes #2615
2014-09-25 10:33:31 +02:00
Frédéric Junod
aafe50c30e
Merge pull request #2742 from fredj/updatefeature
...
Dispatch an 'updatefeature' from the vector source
2014-09-25 09:20:15 +02:00
Tim Schaub
b1ca9a4fc0
Merge pull request #2747 from lazaruslarue/patch-2
...
Fix incorrect web address.
2014-09-24 16:36:52 -06:00
lazarus
0f81a994fe
Fix incorrect webaddress
...
was pointing to Jewish Studies Religious website... fixed to correctly point to ol3js.org instead.
2014-09-24 14:30:21 -07:00
Bart van den Eijnden
1f5ca28596
Merge pull request #2745 from bartvde/issue-2745
...
DragBox Interaction: getGeometry return type can be ol.geom.Polygon (r=@fredj)
2014-09-24 12:46:04 +02:00
Bart van den Eijnden
0145c4fb5f
The getGeometry function of ol.interaction.DragBox always returns ol.geom.Polygon
2014-09-24 11:57:36 +02:00
Frédéric Junod
d03755859f
Merge pull request #2744 from fredj/feature-id-change
...
Fix ol.Feature 'change' event documentation
2014-09-24 09:35:14 +02:00
Frederic Junod
1dcde66839
Fix ol.Feature 'change' event documentation
...
Setting the id also dispatch a `change` event
2014-09-23 17:40:46 +02:00
Frederic Junod
79b8ef3a53
Dispatch an 'updatefeature' from the vector source
2014-09-23 16:19:00 +02:00
Bart van den Eijnden
b8d8acd3fd
Merge pull request #2741 from bartvde/issue-2741
...
issue with reading scientific notation coordinates in ol.format.GML (r=@fredj)
2014-09-23 16:17:36 +02:00
Bart van den Eijnden
2e18f077c8
Correctly parse GML coordinates with capital E in scientific notation
2014-09-23 15:35:12 +02:00
Éric Lemoine
fb01814384
Merge pull request #2739 from elemoine/circular
...
Revert "Function circular renamed to createCircularOnSphere"
2014-09-23 14:47:13 +02:00
Frédéric Junod
7dcb54fb58
Merge pull request #2616 from fredj/attributions-target
...
Target for attribution links differs between maps
2014-09-23 14:46:11 +02:00
Éric Lemoine
69877de0d0
Merge pull request #2740 from elemoine/setgetactive
...
Make interactions activable and deactivable
2014-09-23 13:41:37 +02:00
Éric Lemoine
2248d2e012
Skip inactive interactions
2014-09-23 12:37:53 +02:00
Éric Lemoine
de319b9ae8
Add ol.interaction.Interaction#setActive and #getActive
2014-09-23 12:37:53 +02:00
Éric Lemoine
6b2a703b35
Use ol.geom.Polygon.circular in ol.Geolocation
2014-09-23 09:43:13 +02:00
Éric Lemoine
a94f02e463
Revert "Function circular renamed to createCircularOnSphere"
...
This reverts commit ac8e7e16c2 .
2014-09-23 09:41:03 +02:00
Éric Lemoine
f8702e2038
Call loadFeatures from ol.source.ImageVector
2014-09-23 09:36:00 +02:00
Éric Lemoine
23e597eb25
Add maxZoom option to BingMaps
2014-09-22 15:22:31 +02:00
Éric Lemoine
04f5768c76
Merge pull request #2727 from elemoine/createcircular
...
Rename ol.geom.Polygon#circular to createCircularOnSphere
2014-09-19 11:13:54 +02:00
Éric Lemoine
49a2f2c926
Merge pull request #2730 from elemoine/tolowercase
...
Do not call toLowerCase when forming a change:property event
2014-09-19 11:07:17 +02:00
Éric Lemoine
ad83f83f2c
To do call toLowerCase when forming a change:property event
2014-09-18 18:44:45 +02:00
Tim Schaub
9da909dd57
Merge pull request #2728 from tschaub/exports
...
Mark `ol.extent.getIntersection` as stable.
2014-09-18 07:11:44 -06:00
Éric Lemoine
d85d34f3dd
Better docs for ol.geom.Polygon#createCircularSphere
2014-09-18 08:48:05 +02:00
Éric Lemoine
122b535393
Better docs for ol.Sphere#offset
2014-09-17 20:22:18 +02:00
Éric Lemoine
5416badde1
Merge pull request #2726 from elemoine/feature-setstyle
...
Make ol.Feature#setStyle accept null
2014-09-17 19:56:28 +02:00
Tim Schaub
9f1bdc7c83
Mark ol.extent.getIntersection as stable
2014-09-17 11:24:54 -06:00
Éric Lemoine
ac8e7e16c2
Function circular renamed to createCircularOnSphere
2014-09-17 17:59:46 +02:00
Éric Lemoine
d335318496
Make ol.Feature#setStyle accept null
2014-09-17 17:52:51 +02:00
Frédéric Junod
5eaafc5936
Merge pull request #2724 from fredj/examples-unknownDefines
...
Error when compiling individual example
2014-09-17 16:25:58 +02:00
Frederic Junod
7ba7a61bb8
Disable unknownDefines check when compiling individual examples
2014-09-17 16:11:15 +02:00
Éric Lemoine
dfb2734368
Merge pull request #1959 from elemoine/feature-box-selection
...
Add a feature box selection example
2014-09-17 15:02:23 +02:00
Éric Lemoine
6a450f45e1
Merge pull request #2722 from elemoine/nullview
...
Make ol.Map#setView do not accept undefined
2014-09-17 15:01:41 +02:00
Éric Lemoine
f7e81f84db
Zoom control should not act on a null view
2014-09-17 13:32:45 +02:00
Éric Lemoine
79932ee2f2
Rotate control should not act on a null view
2014-09-17 13:32:31 +02:00
Éric Lemoine
8660f00917
Do not exec animation functions when frameState is null
2014-09-17 12:49:46 +02:00
Éric Lemoine
72e173d925
Rename ol.extent.segmentIntersects to intersectsSegment
2014-09-17 12:26:26 +02:00
Éric Lemoine
79445e993b
Add a box feature selection example
2014-09-17 12:26:26 +02:00
Éric Lemoine
227f3bae18
Add ol.source.Vector#forEachFeatureIntersectingExtent
2014-09-17 12:26:26 +02:00
Éric Lemoine
88911200c2
Add ol.geom.GeometryCollection#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
92c2aca480
Add ol.geom.MultiLineString#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
8d7cf7960a
Add ol.geom.LineString#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
d1f6f132d6
Add ol.geom.MultiPolygon#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
8bdeca9f0a
Add ol.geom.Polygon#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
67f98145bb
Add ol.geom.MultiPoint#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
612cf70560
Add ol.geom.Point#intersectsExtent
2014-09-17 12:17:32 +02:00
Éric Lemoine
a740f32e4d
Add ol.geom.Geometry#intersectsExtent (abstract method)
2014-09-17 12:17:32 +02:00
Éric Lemoine
cdbc1a07be
Add ol.geom.flat.intersectsextent
...
Includes functions for testing if an extent and a geometry intersect.
2014-09-17 12:17:31 +02:00
Éric Lemoine
49fa7c01d4
Add ol.geom.flat.contains.linearRingContainsExtent
2014-09-17 12:17:31 +02:00
Éric Lemoine
3ce6229d34
Add ol.geom.flat.segments.forEach
2014-09-17 12:17:31 +02:00
Éric Lemoine
24321f6feb
Add ol.extent.containsXY
2014-09-17 12:17:31 +02:00
Éric Lemoine
b5db9db453
Add ol.extent.forEachCorner
2014-09-17 12:17:31 +02:00
Éric Lemoine
cb8b896230
Make ol.Map#setView do not accept undefined
...
With this change map.setView(null) is permitted, but map.setView(undefined) is not. map.getView now always returns a defined value, which may be null is setView was called with null.
2014-09-17 11:47:24 +02:00
Frederic Junod
0938ab654a
Remove target attribute on attributions link
2014-09-17 11:26:15 +02:00
Éric Lemoine
163cc5b873
Merge pull request #2696 from gberaudo/consistent_circle_transform
...
Consistent circle transform.
2014-09-16 14:39:17 +02:00
Guillaume Beraudo
d67cefdf3a
Consistent circle transform
...
Depending on compilation flags, applying a transform used to either:
- work;
- fail throwing an abstract method not implemented message;
- fail silently.
Now it should consistently work, like the other geometries.
Adding a polygon factory method creating an approximation of a circle on
a plane would be useful for users wanting the circle to be deformed.
It would be similar to the `circular` function which creates an
approximation of a circle on a sphere.
2014-09-16 13:41:17 +02:00
Frédéric Junod
8e2cc7e3db
Merge pull request #2717 from fredj/rotate-css
...
Change the control visibility by using css class
2014-09-16 13:29:58 +02:00
Frederic Junod
e136b4b4db
Change the control visibility by using css class
...
Instead of changing the button opacity in the control, only add/remove
a css class (ol-hidden). This let the developer easily change the
behavior by updating the css.
2014-09-16 11:00:44 +02:00
Éric Lemoine
7e502ac477
Merge pull request #2715 from elemoine/tissot
...
Add an EPSG:3857 map to Tissot example
2014-09-15 19:44:31 +02:00
Éric Lemoine
83ded37cbc
Add an EPSG:3857 map to Tissot example
2014-09-15 18:19:10 +02:00
Frédéric Junod
0b43183616
Merge pull request #2714 from fredj/opacity
...
Set the opacity directly to element.style.opacity
2014-09-15 17:13:50 +02:00
Frederic Junod
ec9386acfe
Set the opacity directly to element.style.opacity
...
goog.style.setOpacity handles the IE8 case (but we are doing the same
above in the same function) and Firefox prior to version 3.5 (latest
stable release in April 2011).
See https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
2014-09-15 16:01:24 +02:00
Frédéric Junod
8bf43f5f22
Merge pull request #2647 from fredj/closure-lib-upgrade
...
Upgrade closure library version
2014-09-15 14:36:17 +02:00
Frédéric Junod
007fc34a23
Merge pull request #2549 from fredj/assume-array-native
...
Use goog.array.ASSUME_NATIVE_FUNCTIONS define
2014-09-15 13:28:14 +02:00
Éric Lemoine
2c37a99332
Merge pull request #2711 from elemoine/remove-gmaps-example
...
Remove Google Maps example
2014-09-12 14:01:37 -07:00
Éric Lemoine
1bc650a19c
Remove Google Maps example
2014-09-12 18:41:33 +02:00
Andreas Hocevar
b431487435
Merge pull request #2684 from ahocevar/notify-change
...
Rename ol.Observable#dispatchChangeEvent() to #changed()
2014-09-11 15:51:22 -07:00
Andreas Hocevar
3da9a67162
Merge pull request #2678 from ahocevar/mutable-styles
...
Mutable symbolizer properties for styles
2014-09-11 13:14:43 -07:00
Andreas Hocevar
267a950435
Mention the need to re-render in a single place only
2014-09-11 13:13:17 -07:00
Bart van den Eijnden
b86cb1f7b5
Merge pull request #2568 from bartvde/gml-autoconfigure
...
re-implement auto-configure code for ol.format.GML (r=@ahocevar)
2014-09-11 20:47:24 +02:00
Bart van den Eijnden
19319356d7
Auto configure ol.format.GML if not configured with a featureNS/featureType
2014-09-11 20:03:02 +02:00
Marc Jansen
dfa6a7c497
Merge pull request #2704 from gberaudo/pooled_example_checks
...
Use pool thread for calling bin/check-example.js.
2014-09-11 17:35:26 +02:00
Frederic Junod
fb87c22359
Set goog.array.ASSUME_NATIVE_FUNCTIONS to true
2014-09-11 13:24:13 +02:00
Guillaume Beraudo
590486fa72
Use pool thread for calling bin/check-example.js.
...
Saves 50s out of 60s on my machine, that is 83%.
Fixes https://github.com/openlayers/ol3/issues/2695
2014-09-11 09:30:44 +02:00
Andreas Hocevar
593532cb5a
Merge pull request #2698 from ahocevar/feature-not-abstract
...
StaticVector is not an abstract base class
2014-09-10 08:03:15 -07:00
Frédéric Junod
be7ee49701
Merge pull request #2702 from fredj/export-map
...
Add vector layer in export-map example
2014-09-10 09:48:32 +02:00
Frederic Junod
1ae3e2a7f4
Add vector layer in export-map example
2014-09-10 09:06:51 +02:00
Andreas Hocevar
6eda02f208
StaticVector is not an abstract base class
2014-09-09 13:44:56 -07:00
Frederic Junod
20ce664068
Remove mousewheel event name workaround
...
Fixed upstream https://github.com/google/closure-library/pull/308
2014-09-09 15:03:18 +02:00
Frederic Junod
2b395d3160
Add missing goog.require
2014-09-09 15:03:18 +02:00
Frederic Junod
2eb9a4b72e
Upgrade closure-library and closure-util version
2014-09-09 15:03:18 +02:00
Frédéric Junod
ad1f255211
Merge pull request #2687 from fredj/legacy-ie
...
Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
2014-09-09 09:25:56 +02:00
Frédéric Junod
95d295bc6b
Merge pull request #2675 from fredj/map.getlayers
...
Remove undefined from ol.Map#getLayers return type
2014-09-08 16:30:47 +02:00
Frederic Junod
c0c14cb09c
Remove undefined from ol.Map#getLayers return type
...
It's already assumed that the collection is defined in ol.Map#addLayer
and ol.Map#removeLayer.
2014-09-08 15:47:14 +02:00
Éric Lemoine
96f7d6323a
Change signature of ol.layer.Group#getLayers
...
This commit changes the signature of ol.layer.Group#getLayers from {ol.Collection.<ol.layer.Base>|undefined} to {!ol.Collection.<ol.layer.Base>}. In this way the caller is guaranteed that getLayers returns a dereferencable object.
2014-09-08 15:45:58 +02:00
Frédéric Junod
bfef6ab075
Merge pull request #2692 from fredj/overlay-index
...
Unset z-index in overlay example
2014-09-08 15:20:28 +02:00
Frederic Junod
67a5b07a83
Unset z-index in overlay example
2014-09-08 15:01:19 +02:00
Frederic Junod
23745cd043
Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
...
See #1605
2014-09-06 17:52:13 +02:00
Andreas Hocevar
0e14639633
Update docs for changes proposed in #2684
2014-09-04 21:01:50 -06:00
Andreas Hocevar
ebe3b48e0a
Rename ol.Observable#dispatchChangeEvent() to #changed()
...
Since dispatchChangeEvent does not only dispatch a change event, but
also increases the revision counter, the method name should reflect
this.
2014-09-04 19:30:48 -06:00
Andreas Hocevar
2876902333
Merge pull request #2681 from ahocevar/xyz-tilesize
...
Make tileSize a config option for ol.source.XYZ
2014-09-04 14:21:46 -06:00
Andreas Hocevar
88c30795d3
Doc improvements
2014-09-04 13:20:25 -06:00
Andreas Hocevar
ec00cd3222
Make tileSize a config option for ol.source.XYZ
2014-09-04 11:59:43 -06:00
Andreas Hocevar
0c36d7606b
No need to have a mutable_ flag
...
Instead, educate users to call setStyle.
2014-09-04 11:47:32 -06:00
Frédéric Junod
5de537001f
Merge pull request #2534 from fredj/polygon-api
...
Document ol.geom.Polygon#getLinearRing function
2014-09-04 17:57:12 +02:00
Andreas Hocevar
13d84e75ad
Additional documentation
2014-09-03 18:31:01 -06:00
Andreas Hocevar
a50f6d7a2f
Mutable symbolizer properties for style functions
...
This change adds setters for symbolizer properties. In addition, it
introduces a mutable flag on all styles. By default, this is set to
true. ol.style.createStyleFunction sets it to false for all static
styles.
The new setters assert that the mutable flag is true, so whenever an
application tries to set a symbolizer property on a style that was
assigned to a vector layer or feature overlay, the assertion will fail.
2014-09-03 16:57:50 -06:00
Éric Lemoine
e854d16646
Merge pull request #2677 from gberaudo/export_text_style_offsets
...
Add TextStyle offsets getters to API.
2014-09-03 17:30:14 +02:00
Guillaume Beraudo
9adb12846c
Add TextStyle offsets getters to API.
...
The other properties getters are in the API already.
2014-09-03 17:21:27 +02:00
Frédéric Junod
f188cfd384
Merge pull request #2676 from fredj/featureoverlay-style
...
ol.FeatureOverlay: use the feature style if defined
2014-09-03 16:46:49 +02:00
Frederic Junod
9a23778d50
Use a custom style for the position feature
2014-09-03 16:34:28 +02:00
Frederic Junod
eecb5770a5
Use the feature style if defined
...
Same behavior as ol.layer.Vector
2014-09-03 16:34:28 +02:00
Frédéric Junod
b87a50726c
Merge pull request #2656 from fredj/image-layer-source-type
...
Set ol.layer.Image#getSource return type to ol.source.Image
2014-09-03 14:23:55 +02:00
Frederic Junod
d7ee71a811
Remove unnecessary type cast
2014-09-03 11:14:33 +02:00
Frederic Junod
b366407038
Set ol.layer.Tile#getSource return type to ol.source.Tile
2014-09-03 11:14:33 +02:00
Frederic Junod
009cd9f840
Remove unnecessary type cast
2014-09-03 11:14:33 +02:00
Frederic Junod
0e964cb84c
Set ol.layer.Image#getSource return type to ol.source.Image
2014-09-03 11:14:33 +02:00
Frederic Junod
568f854f29
Add olx.layer.ImageOptions typedef
2014-09-03 11:14:33 +02:00
Frédéric Junod
aa618e35e4
Merge pull request #2651 from gberaudo/layer_vector_source_specialisation
...
ol.layer.Vector.getSource return type specialisation.
2014-09-03 11:14:02 +02:00
Frédéric Junod
2470f21b4c
Merge pull request #2669 from fredj/bad-commit
...
Revert "snapshot"
2014-09-02 16:17:18 +02:00
Frederic Junod
ad8cc3c1e0
Revert "snapshot"
...
This reverts commit 47fd7d8626 .
2014-09-02 16:13:34 +02:00
Frederic Junod
47fd7d8626
snapshot
2014-09-02 16:11:31 +02:00
Frederic Junod
4a21ad566a
Remove unnecessary type cast
2014-09-02 15:17:32 +02:00
Guillaume Beraudo
da2a291208
ol.layer.Vector.getSource return type specialisation.
2014-09-02 15:14:01 +02:00
Frédéric Junod
62dfc15bd5
Merge pull request #2663 from fredj/geolocation-tracking-error
...
Set tracking property to false on geolocation error
2014-09-02 12:34:23 +02:00
Frederic Junod
4969c2cf34
Set tracking property to false on geolocation error
2014-09-02 11:13:06 +02:00
Éric Lemoine
bcf5421541
Merge pull request #2662 from gingerik/delegate-transformation
...
Delegate transformation in ol.source.FormatVector#readFeatures to `ol.format.*`
2014-09-01 08:14:07 +02:00
Erik Timmers
1da5be6ffb
Delegate transformation to ol.format.*
...
Fixes #2604 .
2014-09-01 07:22:17 +02:00
Tim Schaub
273ba5fb00
Merge pull request #2447 from lazaruslarue/patch-1
...
Correct documentation typo.
2014-08-30 22:18:21 -06:00
Éric Lemoine
36e5fb8bdc
Merge pull request #2660 from elemoine/domain
...
New domain in the build header
2014-08-29 17:50:31 +02:00
Éric Lemoine
ff6da7ed79
New domain in the build header
2014-08-29 17:27:52 +02:00
oterral
962f1eecc0
Set inherited values
2014-08-29 15:21:33 +02:00
Éric Lemoine
5df0b4ec3b
Merge pull request #2641 from elemoine/sphere
...
Add @api to ol.Sphere
2014-08-29 12:10:00 +02:00
Éric Lemoine
f7f4c7b686
Remove @api annotation from ol.sphere.WGS84
2014-08-29 11:57:44 +02:00
Éric Lemoine
ad8a1f5fb6
Make tissot example use ol.Sphere
2014-08-29 11:57:44 +02:00
Éric Lemoine
f452f5545a
Add @classdesc to ol.Sphere
2014-08-29 11:57:44 +02:00
Éric Lemoine
91b567293e
Merge pull request #2652 from fredj/collection-doc
...
Improve ol.Collection documentation
2014-08-29 11:49:28 +02:00
Éric Lemoine
40fb661864
Add @api to ol.Sphere
2014-08-29 11:22:08 +02:00
Andreas Hocevar
90604fab2a
Merge pull request #2644 from ahocevar/extends-externs
...
Add @extends annotations to generated externs
2014-08-29 10:49:42 +02:00
Éric Lemoine
5c88d8d84e
Merge pull request #2655 from tschaub/new-domain
...
Using the openlayers.org domain
2014-08-29 08:16:12 +02:00
Frederic Junod
aa40504dd5
Improve ol.Collection documentation
2014-08-29 07:27:35 +02:00
Tim Schaub
fc13499f31
Using the openlayers.org domain
2014-08-28 16:15:41 -06:00
Andreas Hocevar
f724cb65bc
Add base classes to info.json and generated externs
...
This ensures that the inheritance chain is intact, even if the base
class is not exportable.
2014-08-28 19:02:49 +02:00
Éric Lemoine
41ee554969
Merge pull request #2629 from elemoine/apistable-format
...
Add @api stable annotations to ol.format
2014-08-28 17:37:06 +02:00
Éric Lemoine
00bf5462ba
Merge pull request #2609 from elemoine/view-stability
...
Annotate stable view functions and options
2014-08-28 17:36:49 +02:00
Éric Lemoine
1152b0327b
Merge pull request #2612 from elemoine/proj-stability
...
Add @api stable annotations to ol.proj
2014-08-28 17:19:24 +02:00
Éric Lemoine
7c9c4c6462
Merge pull request #2614 from elemoine/tilegrid-stability
...
Add @api stable annotations tilegrid functions and options
2014-08-28 17:16:18 +02:00
Éric Lemoine
b099ac8e32
Merge pull request #2622 from elemoine/apistable-condition
...
Add @api stable annotations to ol.events.condition
2014-08-28 17:13:03 +02:00
Éric Lemoine
f8b9896dd3
Add @api stable annotations to Feature format
2014-08-28 17:10:25 +02:00
Éric Lemoine
52c5897ccc
Add @api stable annotations to olx.format.WriteOptions
2014-08-28 17:10:25 +02:00
Éric Lemoine
3338d56792
Add @api stable annotations to olx.format.ReadOptions
2014-08-28 17:10:25 +02:00
Éric Lemoine
c8c59c3657
Add @api stable annotations for WKT format
2014-08-28 17:10:24 +02:00
Éric Lemoine
5eced4a015
Add @api stable annotations for WFS format
2014-08-28 17:10:24 +02:00
Éric Lemoine
de4131f207
Add @api stable annotations for TopoJSON format
2014-08-28 17:10:24 +02:00
Éric Lemoine
ceb0cc54ce
Add @api stable annotations for Polyline format
2014-08-28 17:10:23 +02:00
Éric Lemoine
a09b5d61ae
Add @api stable annotations for OSMXML format
2014-08-28 17:10:23 +02:00
Éric Lemoine
e0c173bd24
Add @api stable annotations for KML format
2014-08-28 17:10:23 +02:00
Éric Lemoine
5120248188
Add @api stable annotations for GPX format
2014-08-28 17:10:23 +02:00
Éric Lemoine
1f9ab58623
Add @api stable annotations for GML format
2014-08-28 17:10:22 +02:00
Andreas Hocevar
bc2044d48b
Walk up the inheritance chain to an exportable constructor
2014-08-28 15:11:09 +02:00
Andreas Hocevar
a0c76aa5ee
Do not extend goog.* types
2014-08-28 15:11:09 +02:00
Andreas Hocevar
80ea1772e2
Add @extends annotations to generated externs
2014-08-28 15:11:09 +02:00
Frédéric Junod
507dd4d534
Merge pull request #2630 from fredj/misc
...
Improve ol.structs.LRUCache type annotation
2014-08-28 13:59:30 +02:00
Andreas Hocevar
d2eceab25e
Merge pull request #2643 from ahocevar/interface-externs
...
Handle interfaces in the generate-externs task
2014-08-28 13:22:15 +02:00
Éric Lemoine
99071b2bef
Merge pull request #2638 from elemoine/setstyle
...
Allow passing undefined to ol.layer.Vector#setStyle
2014-08-28 12:12:38 +02:00
Andreas Hocevar
4d933f0764
Merge pull request #2645 from ahocevar/nullable-externs
...
Support nullable params and returns in generated externs
2014-08-28 11:52:26 +02:00
Andreas Hocevar
663fef3dfd
Support nullable params and returns in generated externs
2014-08-27 18:18:49 +02:00
Andreas Hocevar
e560f529c6
Handle interfaces in the generate-externs task
2014-08-27 16:13:12 +02:00
Frédéric Junod
4e8abb62f9
Merge pull request #2639 from fredj/osmxml-options
...
Fix ol.source.OSMXML options
2014-08-27 15:11:03 +02:00
Frédéric Junod
95ba8c76e3
Merge pull request #2640 from fredj/geom-clone-return
...
Improve ol.geom.*.clone() return type annotation
2014-08-27 15:10:13 +02:00
Éric Lemoine
56d4d68459
Mark all WMTS functions/options as experimental
2014-08-27 14:44:21 +02:00
Frederic Junod
42312c6c73
Improve ol.geom.*.clone() return type annotation
2014-08-27 13:30:06 +02:00
Frederic Junod
eaca8c1691
Pass options.urls property to ol.source.OSMXML parent class
2014-08-27 12:31:09 +02:00
Éric Lemoine
03d321ce1f
Better docs for ol.layer.Vector#setStyle
2014-08-27 12:26:10 +02:00
Éric Lemoine
9cc0841efb
Allow passing undefined to ol.layer.Vector#setStyle
2014-08-27 12:26:10 +02:00
Frederic Junod
d3c2e40c84
remove unused olx.source.OSMXMLOptions#defaultStyle property
2014-08-27 11:19:15 +02:00
Andreas Hocevar
b7ca592334
Merge pull request #2635 from ahocevar/typedefs-after-symbols
...
Process typedefs last when generating externs
2014-08-27 10:54:27 +02:00
Frédéric Junod
20131bf54a
Merge pull request #2637 from fredj/kinetic-optim
...
Don't compute velocity if not needed
2014-08-27 10:52:13 +02:00
Frederic Junod
5cdd96b131
Don't compute velocity if not needed
2014-08-27 10:40:36 +02:00
Antoine Abt
55005cfb21
Merge pull request #2619 from simonseyock/ol3-overlay-offset
...
Making ol.Overlay accept offset values if positioning right or bottom
2014-08-27 09:33:07 +02:00
Frederic Junod
1a4580f6f8
Add missing array type in ol.structs.LRUCache#getValues
2014-08-27 09:25:41 +02:00
Frederic Junod
25093b371d
Improve ol.structs.LRUCache type annotation
2014-08-27 09:09:52 +02:00
Andreas Hocevar
e9457461af
Process typedefs last
...
Becasue typedefs sometimes use namespaces that are actually
constructors, we need to process typedefs after symbols to avoid
duplicate entries for such namespace types.
2014-08-26 22:21:25 +02:00
Éric Lemoine
68b3691cd6
Merge pull request #2634 from probins/patch-1
...
Minor improvement to comment in style/style
2014-08-26 18:55:00 +02:00
Peter Robins
4005c986f6
Minor improvement to comment in style/style
2014-08-26 17:34:05 +01:00
Éric Lemoine
df23bd1ff7
Merge pull request #2633 from elemoine/signature
...
Fix ol.style.defaultStyleFunction signature
2014-08-26 17:24:45 +02:00
Éric Lemoine
0d92d7abc1
Better comments in ol.style.defaultStyleFunction
2014-08-26 17:10:07 +02:00
Éric Lemoine
89019ea233
Fix ol.style.defaultStyleFunction signature
2014-08-26 17:09:43 +02:00
Antoine Abt
dea670f754
Merge pull request #2632 from tonio/attrib_styles
...
Small tweaks to attributions max-width
2014-08-26 15:52:36 +02:00
Antoine Abt
a046dc1bab
Fix attributions width
2014-08-26 15:29:11 +02:00
Frédéric Junod
0e9744d967
Merge pull request #2631 from fredj/osm-maxzoom
...
Set default ol.source.OSM maxZoom to 19
2014-08-26 15:19:52 +02:00
Frederic Junod
b611aff8e4
Set default ol.source.OSM maxZoom to 19
2014-08-26 14:21:32 +02:00
Éric Lemoine
9ecd60601c
Merge pull request #2627 from elemoine/inherits
...
Fix ol.inherits docs
2014-08-26 11:24:01 +02:00
Frédéric Junod
1e0b366202
Merge pull request #2628 from fredj/scale-line
...
Take the 'us' and 'nautical' units into account in scale line control
2014-08-26 11:03:48 +02:00
Frederic Junod
8c8fd64ecb
Add 'us' and 'nautical' units in scale-line example
2014-08-26 10:37:52 +02:00
Frederic Junod
58e3561ba5
Take the 'us' and 'nautical' units into account
...
When converting pointResolution from degrees to meters
2014-08-26 10:36:55 +02:00
Éric Lemoine
26df575bfe
Add @api stable annotations for GeoJSON format
2014-08-26 10:36:27 +02:00
Éric Lemoine
d3d41c8217
Fix ol.inherits docs
2014-08-26 10:13:10 +02:00
Éric Lemoine
b83e639301
Merge pull request #2624 from gingerik/wkt-call-stack
...
Fix potentially exceeding call stack limit
2014-08-26 08:57:31 +02:00
Erik Timmers
eef87fdaac
Fix potentially exceeding call stack limit
...
Fixes #2590 . Improves parsing time.
2014-08-26 08:28:18 +02:00
Éric Lemoine
c02793e42b
Add @api stable to ol.MapEvent
2014-08-25 17:36:22 +02:00
Éric Lemoine
db452759c9
Add @api stable to ol.MapBrowserEvent
2014-08-25 17:36:10 +02:00
Éric Lemoine
43ee0158f8
Add @api stable to ol.events.condition built-ins
2014-08-25 17:25:06 +02:00
Éric Lemoine
dcd2e425a2
Add @api stable to ol.events.ConditionType
2014-08-25 17:24:57 +02:00
Bart van den Eijnden
069a2d9f20
Merge pull request #2617 from bartvde/kml-earthquakes
...
kml earthquakes example is broken
2014-08-25 17:17:03 +02:00
Frédéric Junod
dda700c1e4
Merge pull request #2618 from fredj/geom-clone
...
Indicates that ol.geom.Geometry#clone never return null
2014-08-25 17:10:20 +02:00
simonseyock
52e06a8ff7
Making ol.Overlay accept offset values if positioning right or bottom
...
When ol.Overlay has set positioning is set to right or bottom, no offset is applied. I added the missing calculations.
I made 2 fiddles showing the bahaviour before and after.
The divs in hte fiddles are named after their positioning (anchor point)! Not the actual position!
Before: http://jsfiddle.net/simon_seyock/ob7ggtx6/
As you can see, on div named "bottom-right" no offset at all is applied. On "bottom-center" it is only applied horizontally and on "center-right" only vertically.
After: http://jsfiddle.net/simon_seyock/sL2f3nL9/2/
All offsets are applied correctly, you could draw a straight line through the anchor points of every div.
2014-08-25 16:55:33 +02:00
Bart van den Eijnden
8107a0582a
Use extractStyles false in KML earthquakes example
2014-08-25 16:51:21 +02:00
Frederic Junod
6e3354ab7b
Indicates that ol.geom.Geometry#clone never return null
2014-08-25 16:44:52 +02:00
Tim Schaub
b5a6ffc144
Merge pull request #2608 from tschaub/more-stable
...
Mark ol.RendererType enum as stable.
2014-08-25 07:39:38 -06:00
Éric Lemoine
5aca42fe64
Merge pull request #2610 from elemoine/geoloc-stability
...
Annotate stable geolocation functions and options
2014-08-25 13:14:53 +02:00
Éric Lemoine
2e89d69743
Add @api stable annotations to olx.tilegrid.WMTSOptions
2014-08-25 12:37:37 +02:00
Éric Lemoine
b0e87fac76
Add @api stable annotations to ol.tilegrid.WMTS
2014-08-25 11:00:13 +02:00
Éric Lemoine
e4fc8fa119
Add @api stable annotations to olx.tilegrid.TileGridOptions
2014-08-25 11:00:13 +02:00
Éric Lemoine
137d74e5a0
Add @api stable annotations to ol.tilegrid.TileGrid
2014-08-25 11:00:13 +02:00
Éric Lemoine
016daf3c68
Mark ol.TransformFunction as stable
2014-08-25 10:30:04 +02:00
Éric Lemoine
cc4d793c64
Add @api stable annotations to ol.proj
2014-08-25 10:27:25 +02:00
Éric Lemoine
522820fc97
Merge pull request #2611 from elemoine/pixel-stability
...
Add @api stable annotation to ol.Pixel
2014-08-25 10:20:08 +02:00
Éric Lemoine
a1d91042b1
Add @api stable annotation to ol.Pixel
2014-08-25 10:00:10 +02:00
Éric Lemoine
c97e19b4ff
Better docs for ol.Geolocation projection option
2014-08-25 09:56:48 +02:00
Éric Lemoine
759419593a
Add @api stable annotations to olx.GeolocationOptions
2014-08-25 09:56:29 +02:00
Éric Lemoine
250b588db4
Add @api stable annotations to ol.Geolocation
2014-08-25 09:56:01 +02:00
Éric Lemoine
c89ea54179
Better docs for fitExtent and calculateExtent
2014-08-25 09:28:31 +02:00
Frederic Junod
5602ae6521
Document ol.geom.Polygon#getLinearRing function
2014-08-25 09:21:09 +02:00
Frederic Junod
9feac717c8
Add ol.geom.Polygon#getLinearRingCount function
2014-08-25 09:21:09 +02:00
Éric Lemoine
3533dba7ac
Add @api stable annotations to olx.ViewOptions
2014-08-25 09:20:24 +02:00
Éric Lemoine
f4c8f176ec
Add @api stable annotations to ol.View
2014-08-25 09:19:58 +02:00
Éric Lemoine
cd4063b0d8
Merge pull request #2602 from elemoine/layer-extent
...
Fix Uncaught RangeError in canvas tile renderer
2014-08-25 09:13:01 +02:00
Bart van den Eijnden
ddb4d9ae83
Merge pull request #2151 from bartvde/license
...
Builds should include license
2014-08-25 08:27:23 +02:00
Tim Schaub
61d759acc7
Add unstable class to typedefs in navigation menu
2014-08-24 18:35:18 -06:00
Tim Schaub
79efcc78a5
Add unstable class to member definitions
2014-08-24 18:31:23 -06:00
Tim Schaub
38b2a46b59
Mark ol.RendererType enum as stable
2014-08-24 18:22:19 -06:00
Tim Schaub
38b58e9860
Merge pull request #2606 from tschaub/stable-map-options
...
Annotate stable map options.
2014-08-24 18:16:27 -06:00
Tim Schaub
c899324eb5
Merge pull request #2605 from tschaub/stable-doc
...
Hide unstable items from the API docs by default.
2014-08-24 18:09:50 -06:00
Éric Lemoine
73df93969a
No composeFrame if layer and view don't intersect
...
ol.renderer.canvas.TileLayer#prepareFrame immediately returns false if the layer extent and the view extent do not intersect.
2014-08-24 14:55:13 +02:00
Éric Lemoine
def1af4492
No composeFrame if prepareFrame returns false
2014-08-24 14:55:13 +02:00
Éric Lemoine
284031bd1e
Merge pull request #2607 from probins/patch-1
...
Clarify that draganddrop example doesn't include projection transforms
2014-08-23 15:32:23 +02:00
Peter Robins
0010cb787f
Clarify that draganddrop example doesn't include projection transforms
2014-08-23 12:09:17 +01:00
Tim Schaub
e17e909ffa
Annotate stable map options
2014-08-22 17:43:51 -06:00
Tim Schaub
a8999f601b
Hide unstable items by default, provide checkbox for toggling
2014-08-22 17:30:29 -06:00
Tim Schaub
ecaedff890
Add "unstable" class to unstable items
...
This also removes the events from the sidebar. These are repeated on the main page and only add unnecessary length to the sidebar.
2014-08-22 17:28:50 -06:00
Tim Schaub
787688ef33
Copy stability from doclet to observable
2014-08-22 17:27:29 -06:00
Éric Lemoine
07b5b448dc
Merge pull request #2596 from elemoine/apistable-coordinate
...
Add @api stable annotations for ol.coordinate
2014-08-22 19:02:17 +02:00
Éric Lemoine
9a4b45921d
Merge pull request #2552 from elemoine/apistable
...
Add @api stable annotations for the ol.layer namespace
2014-08-22 19:01:13 +02:00
Éric Lemoine
fa2206e7a4
Merge pull request #2601 from probins/dbf
...
Rename ol.dom.browserfeature back to BrowserFeature
2014-08-22 19:00:44 +02:00
Éric Lemoine
5ce4e748f5
Add docs for the tile layer preload option
2014-08-22 18:38:22 +02:00
Éric Lemoine
1b86a4967f
Merge pull request #2600 from elemoine/apistable-size
...
Add @api stable annotation to ol.Size
2014-08-22 18:02:40 +02:00
Éric Lemoine
32dce80fb6
Merge pull request #2598 from elemoine/apistable-extent
...
Add @api stable annotations for ol.extent
2014-08-22 18:02:33 +02:00
Éric Lemoine
886941b48e
Merge pull request #2597 from elemoine/apistable-attribution
...
Add @api stable annotations for ol.Attribution
2014-08-22 18:02:20 +02:00
Éric Lemoine
546b42df07
Remove @api annotation from ol.coordinate.fromProjectedArray
2014-08-22 18:01:31 +02:00
Éric Lemoine
678d4ef01c
Merge pull request #2555 from elemoine/apistable1
...
Add @api stable annotations for the ol.source namespace
2014-08-22 17:57:23 +02:00
Éric Lemoine
f369f9a076
Merge pull request #2599 from elemoine/apistable-control-defaultsoptions
...
Add @api stable annotations for olx.control.DefaultsOptions
2014-08-22 17:37:33 +02:00
Peter Robins
18a1c1c0d7
Rename ol.dom.browserfeature back to BrowserFeature
2014-08-22 15:32:01 +00:00
Éric Lemoine
c2e93adae0
Add @api stable annotation to ol.Size
2014-08-22 17:21:46 +02:00
Éric Lemoine
db546a60ea
Add missing "rotate" field to DefaultsOptions typedef
2014-08-22 17:18:36 +02:00
Éric Lemoine
83b086db4f
Add @api stable annotations for olx.control.DefaultsOptions
2014-08-22 17:12:01 +02:00
Éric Lemoine
22fd6872f4
Add @api stable annotations for ol.extent
2014-08-22 17:04:24 +02:00
Éric Lemoine
89e086e586
Add @api stable annotations for ol.Attribution
2014-08-22 16:59:18 +02:00
Éric Lemoine
7a2bad543f
Merge pull request #2595 from probins/patch-1
...
Fix typo in generate-exports
2014-08-22 16:56:15 +02:00
Peter Robins
8dab12f0d4
Fix typo in generate-exports
2014-08-22 15:42:24 +01:00
Tim Schaub
19843d301c
Merge pull request #2586 from tschaub/has
...
Rename ol.browserfeature to ol.has.
2014-08-22 08:02:55 -06:00
Tim Schaub
90fc5b2a4d
Merge pull request #2587 from tschaub/shuffle
...
Directory renaming.
2014-08-22 07:49:42 -06:00
Tim Schaub
f11e5de156
Mark exportable ol.has properties as stable
2014-08-22 07:36:05 -06:00
Tim Schaub
947b049799
Rename ol.browserfeature to ol.has
2014-08-22 07:34:35 -06:00
Tim Schaub
f17c33f631
Rename buildcfg to config
2014-08-22 07:28:05 -06:00
Tim Schaub
c7ba6f4c6e
Rename doc template from apidoc to api
2014-08-22 07:28:05 -06:00
Tim Schaub
1fd0bada51
Move apidoc config with other build related config
2014-08-22 07:28:05 -06:00
Tim Schaub
403e87f697
Merge pull request #2588 from tschaub/unstable
...
Mark map.beforeRender as unstable.
2014-08-22 07:16:49 -06:00
Éric Lemoine
bbeb4442a5
Add @api annotations to ol.layer.Tile
2014-08-22 11:24:07 +02:00
Éric Lemoine
3ced2d8266
Add @api stable annotations to ol.layer.Vector
2014-08-22 11:24:07 +02:00
Éric Lemoine
1085d4f152
Add @api stable annotations to ol.layer.Tile
2014-08-22 11:24:07 +02:00
Éric Lemoine
ee745f8c9e
Add @api stable annotations to ol.layer.Image
2014-08-22 11:24:06 +02:00
Éric Lemoine
e50ba2172f
Add @api stable annotations to ol.layer.Group
2014-08-22 11:24:06 +02:00
Éric Lemoine
15487d1ce9
Add @api stable annotations to ol.layer.Layer
2014-08-22 11:24:06 +02:00
Éric Lemoine
efc32b14df
Add @api stable annotations to ol.layer.Base
2014-08-22 11:24:06 +02:00
Éric Lemoine
54ff843075
Add @api stable annotations for olx.source.ImageMapGuideOptions
2014-08-22 11:08:50 +02:00
Éric Lemoine
daf7715bc6
Add @api stable annotations for ol.source.ImageMapGuide
2014-08-22 11:07:35 +02:00
Éric Lemoine
495d807aba
Add @api stable annotations for olx.source.ZoomifyOptions
2014-08-22 10:43:01 +02:00
Éric Lemoine
b5dcfeac42
Add @api stable annotations for olx.source.XYZOptions
2014-08-22 10:41:38 +02:00
Éric Lemoine
895694e8e8
Add @api stable annotations for olx.source.WMTSOptions
2014-08-22 10:38:21 +02:00
Éric Lemoine
96d91c684e
Add @api stable annotations for olx.source.VectorOptions
2014-08-22 10:34:53 +02:00
Éric Lemoine
3ee72c35a6
Add @api stable annotations for olx.source.TileWMSOptions
2014-08-22 10:32:32 +02:00
Éric Lemoine
328f049d04
Add @api stable annotations for olx.source.TileJSONOptions
2014-08-22 10:32:32 +02:00
Éric Lemoine
6724e1520f
Add @api stable annotations for olx.source.StamenOptions
2014-08-22 10:32:32 +02:00
Éric Lemoine
6bbb699771
Add @api stable annotations for olx.source.OSMOptions
2014-08-22 10:32:32 +02:00
Éric Lemoine
580943e700
Add @api stable annotations for olx.source.MapQuestOptions
2014-08-22 10:24:15 +02:00
Éric Lemoine
67c44b4e9e
Add @api stable annotations for olx.source.ImageWMSOptions
2014-08-22 10:19:37 +02:00
Éric Lemoine
a7a255c235
Add @api stable annotations for olx.source.ImageStaticOptions
2014-08-22 10:19:37 +02:00
Éric Lemoine
3049b56db1
Add @api stable annotations for olx.source.BingMapsOptions
2014-08-22 10:19:37 +02:00
Éric Lemoine
72aa61885a
Add @api stable annotations for ol.source.Zoomify
2014-08-22 10:19:37 +02:00
Éric Lemoine
0fc4d0de98
Add @api stable annotations for ol.source.XYZ
2014-08-22 10:19:37 +02:00
Éric Lemoine
50564f8d67
Remove ol.source.WMTS.optionsFromCapabilities from the API
2014-08-22 10:19:36 +02:00
Éric Lemoine
abe6fb7611
Add @api stable annotations for ol.source.WMTS
2014-08-22 10:19:36 +02:00
Éric Lemoine
02dc7bcc9e
Add @api stable annotations for ol.source.Vector
2014-08-22 10:19:36 +02:00
Éric Lemoine
68fc7e5251
Add @api stable annotations for ol.source.TileWMS
2014-08-22 10:12:54 +02:00
Éric Lemoine
cea9bd6a4a
Add @api stable annotations for ol.source.Tile
2014-08-22 10:12:54 +02:00
Éric Lemoine
4cc9187414
Add @api stable annotations for ol.source.TileJSON
2014-08-22 10:12:54 +02:00
Éric Lemoine
e9c2e72000
Add @api stable annotations for ol.source.Stamen
2014-08-22 10:12:54 +02:00
Éric Lemoine
16359b8af0
Add @api stable annotations for ol.source.Source
2014-08-22 10:12:54 +02:00
Éric Lemoine
823dc41cdf
Add @api stable annotations for ol.source.OSM
2014-08-22 10:12:54 +02:00
Éric Lemoine
69b99cb9ed
Add @api stable annotations for ol.source.MapQuest
2014-08-22 10:12:54 +02:00
Éric Lemoine
7596133db1
Add @api stable annotations for ol.source.ImageWMS
2014-08-22 10:12:54 +02:00
Éric Lemoine
f7088fc500
Add @api stable annotations for ol.source.ImageStatic
2014-08-22 10:12:54 +02:00
Bart van den Eijnden
a5dd13c5f1
Add a reference to the license to the build
2014-08-22 10:10:21 +02:00
Éric Lemoine
d71ca642d2
Add @api stable annotations for ol.source.BingMaps
2014-08-22 09:32:14 +02:00
Éric Lemoine
807ddccecf
Merge pull request #2589 from tschaub/olx-property-stability
...
Document stability for olx properties
2014-08-22 09:27:48 +02:00
Éric Lemoine
3e38b1d88a
Merge pull request #2561 from elemoine/apistable2
...
Add @api stable annotations for ol.Observable
2014-08-22 09:17:47 +02:00
Éric Lemoine
f3930d751e
Add @api stable annotations for ol.Observable
2014-08-22 09:16:28 +02:00
Éric Lemoine
7383a1df06
Merge pull request #2565 from elemoine/apistable5
...
Add @api stable annotations for ol.Feature and the ol.geom namespace
2014-08-22 07:37:28 +02:00
Tim Schaub
9c4689206b
Document stability for options
2014-08-21 22:14:48 -06:00
Tim Schaub
525456e6cd
Only document olx properties marked as part of the API
...
And mark all olx properties with @api. The stability level will be used to determine what can change between minor releases.
2014-08-21 21:49:06 -06:00
Tim Schaub
9975d842f1
Mark map.beforeRender as unstable
2014-08-21 20:31:05 -06:00
Tim Schaub
fc303cdec7
Merge pull request #2577 from tschaub/stability-info
...
Write out stability info for symbols.
2014-08-21 13:41:11 -06:00
Frédéric Junod
a9195771ca
Merge pull request #2584 from openlayers/error-by-fail
...
Replace 'throw new Error' by 'goog.asserts.fail'
2014-08-21 18:33:46 +02:00
Éric Lemoine
58a77478a3
Merge pull request #2582 from elemoine/wmsgfi
...
Support for "Stateless GetFeatureInfo"
2014-08-21 18:07:39 +02:00
Tobias Sauerwein
a231086a8b
Merge pull request #2407 from ahocevar/format-projection
...
Options for feature readers and writers to support transforms
2014-08-21 17:58:10 +02:00
Frederic Junod
fb1d7e0c50
Replace 'throw new Error' by 'goog.asserts.fail'
2014-08-21 15:22:01 +02:00
Frédéric Junod
15a516fd62
Merge pull request #2583 from fredj/readFeature-doc
...
Update ol.format.GeoJSON#readFeature documentation
2014-08-21 13:30:56 +02:00
Éric Lemoine
43bd2b740b
Add @api stable annotations for ol.coordinate
2014-08-21 13:24:57 +02:00
Frederic Junod
b5a3e90bb4
Update ol.format.GeoJSON#readFeature documentation
...
An error is only thrown in development mode: goog.asserts.assert are removed
by the compiler.
2014-08-21 12:36:53 +02:00
Éric Lemoine
2e29ae8bc5
Add a getfeatureinfo-image example
2014-08-21 11:54:49 +02:00
Éric Lemoine
89686b783f
Rename getfeatureinfo example to getfeatureinfo-tile
2014-08-21 11:52:47 +02:00
Éric Lemoine
fbab52b09f
Enable ProjectionLike on getGetFeatureInfoUrl
...
This commit follows up on #2348 .
2014-08-21 11:45:10 +02:00
tsauerwein
939e167c0b
Rename "adaptOptionsWithDefaultDataProjection"
2014-08-21 11:39:01 +02:00
Éric Lemoine
d1bb2724a5
Stateless GetFeatureInfo for ol.source.ImageWMS
2014-08-21 11:29:44 +02:00
Éric Lemoine
5a9d75a04f
Stateless GetFeatureInfo for ol.source.TileWMS
2014-08-21 11:29:44 +02:00
Éric Lemoine
55db958290
Merge pull request #2564 from elemoine/apistable4
...
Add @api stable annotations for the ol.control namespace
2014-08-21 11:02:56 +02:00
Éric Lemoine
a54a485faf
Merge pull request #2562 from elemoine/apistable3
...
Add @api stable annotations for ol.Overlay
2014-08-21 11:00:26 +02:00
Éric Lemoine
4764cbc908
Remove the ol.geom.RawMultiPolygon type
2014-08-21 10:56:50 +02:00
Éric Lemoine
95d7598227
Remove the ol.geom.RawMultiLineString type
2014-08-21 10:56:50 +02:00
Éric Lemoine
d17993794d
Remove the ol.geom.RawMultiPoint type
2014-08-21 10:56:50 +02:00
Éric Lemoine
47c1f1908e
Remove the ol.geom.RawPolygon type
2014-08-21 10:56:50 +02:00
Éric Lemoine
838415218f
Remove the ol.geom.RawLinearRing type
2014-08-21 10:56:50 +02:00
Éric Lemoine
fb1c764a38
Remove the ol.geom.RawLineString type
2014-08-21 10:56:50 +02:00
Éric Lemoine
72bcb2db80
Remove the ol.geom.RawPoint type
2014-08-21 10:56:49 +02:00
Éric Lemoine
feba61af25
Add @api stable annotations for ol.geom.SimpleGeometry
2014-08-21 10:56:49 +02:00
Éric Lemoine
e9eb22bc47
Add @api stable annotations for ol.geom.Polygon
2014-08-21 10:56:49 +02:00
Éric Lemoine
b865958efb
Add @api stable annotations for ol.geom.Point
2014-08-21 10:56:49 +02:00
Éric Lemoine
2c5464aa76
Add @api stable annotations for ol.geom.MultiPolygon
2014-08-21 10:56:49 +02:00
Éric Lemoine
6ecd31fe62
Add @api stable annotations for ol.geom.MultiPoint
2014-08-21 10:56:49 +02:00
Éric Lemoine
ce7fda71af
Add @api stable annotations for ol.geom.MultiLineString
2014-08-21 10:56:49 +02:00
Éric Lemoine
180c6aa7a9
Add @api stable annotations for ol.geom.LineString
2014-08-21 10:56:49 +02:00
Éric Lemoine
516be9041e
Add @api stable annotations for ol.geom.LinearRing
2014-08-21 10:56:49 +02:00
Éric Lemoine
5ccb0fae07
Add @api stable annotations for ol.geom.GeometryCollection
2014-08-21 10:56:49 +02:00
Éric Lemoine
9b0ce7b80c
Add @api stable annotations for ol.geom.Geometry
2014-08-21 10:56:49 +02:00
Éric Lemoine
300146e15b
Merge pull request #2580 from probins/patch-1
...
Small improvements to description of ol.Map example
2014-08-21 10:21:49 +02:00
Peter Robins
b858421220
Small improvements to description of ol.Map example
2014-08-21 08:46:40 +01:00
Frédéric Junod
dcf05af210
Merge pull request #2579 from probins/patch-1
...
Remove link to non-existent ol.ViewOptions
2014-08-21 09:43:54 +02:00
Peter Robins
44d9955dae
Remove link to non-existent ol.ViewOptions
2014-08-21 08:34:54 +01:00
Frédéric Junod
fa512f1ed0
Merge pull request #2545 from fredj/cleanup
...
Miscellaneous coding style fixes
2014-08-21 07:44:07 +02:00
Tim Schaub
bc680ef101
Write out stability info for symbols
2014-08-20 16:17:27 -06:00
Bart van den Eijnden
dd2d896983
Merge pull request #2570 from bartvde/gml-wfs-docs
...
document that ol.format.GML is GML v3 SF profile only now
2014-08-20 22:55:55 +02:00
Bart van den Eijnden
45d4f32078
Document the supported GML and WFS versions
2014-08-20 21:50:51 +02:00
Antoine Abt
81b66a7906
Merge pull request #2575 from tonio/vectoropacity
...
Restore opacity after drawing vector layers
2014-08-20 15:47:07 +02:00
Éric Lemoine
d906efa24c
Merge pull request #2509 from probins/apimismatch
...
Fix missing API docs
2014-08-20 15:40:25 +02:00
Antoine Abt
b034e114d6
Restore opacity after drawing vector layers
2014-08-20 15:34:48 +02:00
Frédéric Junod
42e8fb544a
Merge pull request #2571 from fredj/rotatecontrol-cleanup
...
ol.control.Rotate cleanup and optimization
2014-08-20 11:59:57 +02:00
Frederic Junod
7f086e138a
Remove unnecessary local variable
2014-08-20 11:17:44 +02:00
Éric Lemoine
817862ef59
Merge pull request #2572 from probins/proj
...
Document aliases for EPSG:4326/3857
2014-08-20 11:16:33 +02:00
Peter Robins
ac63a453c2
Document aliases for EPSG:4326/3857
2014-08-20 09:03:46 +00:00
Frederic Junod
27ae50e673
Only update rotate control element when it's needed
...
To avoid a lot of 'Recalculate style' events by the browser.
2014-08-20 10:58:18 +02:00
Frederic Junod
7c14399133
Add missing jsdoc tag
2014-08-20 10:58:18 +02:00
Frederic Junod
113888120f
Use goog.math.toDegrees
2014-08-20 10:58:17 +02:00
Tim Schaub
c7f45819ae
Merge pull request #2482 from tschaub/lint-tasks
...
Lint tasks.
2014-08-19 12:30:26 -06:00
Tim Schaub
f498080d78
Fail if tasks have lint
2014-08-19 12:15:11 -06:00
Tim Schaub
30bfa1bf19
Remove additional lint from new tasks
2014-08-19 12:15:11 -06:00
Tim Schaub
7f5ed26d8d
Merge pull request #1124 from tschaub/xyz
...
Allow tilegrid creation from projection or extent.
2014-08-19 11:59:52 -06:00
Tim Schaub
6bd0d7efae
Additional documentation
2014-08-19 10:30:38 -06:00
Tim Schaub
1ede97ae18
Respect the tileSize option for XYZ grids
2014-08-19 10:30:37 -06:00
Tim Schaub
ee487ca308
Sources may be configured with a projection, tile grids with an extent
...
An XYZ tile grid is constructed with an extent defining the bounds of the tile grid.
2014-08-19 10:30:27 -06:00
Éric Lemoine
239a90cd55
Add @api stable annotations for ol.Feature
2014-08-19 17:12:46 +02:00
Éric Lemoine
24651ba21e
Add @api stable annotations for ol.control.FullScreen
2014-08-19 16:59:22 +02:00
Éric Lemoine
26ec1d5924
Add @api stable annotations for ol.control.ZoomToExtent
2014-08-19 16:59:18 +02:00
Éric Lemoine
967bbebaa0
Add @api stable annotations for ol.control.ZoomSlider
2014-08-19 16:59:14 +02:00
Éric Lemoine
c3e0b5f282
Add @api stable annotations for ol.control.Zoom
2014-08-19 16:59:10 +02:00
Éric Lemoine
d8afc96aa3
Add @api stable annotations for ol.control.ScaleLine
2014-08-19 16:59:06 +02:00
Éric Lemoine
975e81a041
Add @api stable annotations for ol.control.Rotate
2014-08-19 16:59:02 +02:00
Éric Lemoine
39431dff9e
Add @api stable annotations for ol.control.MousePosition
2014-08-19 16:58:53 +02:00
Éric Lemoine
ecbf3bc692
Add @api stable annotations for ol.control.defaults
2014-08-19 16:58:49 +02:00
Éric Lemoine
602deafc86
Add @api stable annotations for ol.control.Attribution
2014-08-19 16:46:44 +02:00
Éric Lemoine
7c01d3a57c
Add @api stable annotations for ol.control.Control
2014-08-19 16:46:12 +02:00
Éric Lemoine
365caa6f19
Merge pull request #2559 from elemoine/loader
...
Change comment in loader_hosted_examples.js
2014-08-19 12:33:04 +02:00
Éric Lemoine
879ace1c9a
Add @api stable annotations for ol.Overlay
2014-08-19 12:32:01 +02:00
Frédéric Junod
27ad6c33bc
Merge pull request #2560 from fredj/optim
...
Don't create unnecessary closure
2014-08-19 12:28:34 +02:00
Éric Lemoine
2c9e822808
Merge pull request #2410 from probins/taskreadme
...
Additional clarifications for tasks/readme
2014-08-19 12:27:25 +02:00
Éric Lemoine
96269c0b24
Change comment in loader_hosted_examples.js
...
The hosted examples do not use the ol-debug.js build. They use ol.js in "production" mode, and they load scripts one by one in "development" mode.
2014-08-19 12:14:38 +02:00
Frederic Junod
1439ceafa1
Simplify goog.object.forEach call
2014-08-19 11:58:50 +02:00
Frederic Junod
102f214afe
Remove unnecessary local variable
2014-08-19 11:58:25 +02:00
Frederic Junod
0f4e56978b
Remove unnecessary newlines
2014-08-19 11:58:25 +02:00
Frederic Junod
35e4134047
Don't create unnecessary closure
2014-08-19 11:39:44 +02:00
Frédéric Junod
59826ce490
Merge pull request #2558 from fredj/optim
...
Don't create unnecessary closure in constructor
2014-08-19 11:02:31 +02:00
Éric Lemoine
db490e11b5
Merge pull request #2557 from elemoine/rename-mapguide
...
Rename ol.source.MapGuide to ol.source.ImageMapGuide
2014-08-19 10:20:52 +02:00
Frederic Junod
2b3e0bf699
Don't create unnecessary closure in constructor
2014-08-19 09:55:18 +02:00
Éric Lemoine
ec81c05cce
Rename ol.source.MapGuide to ol.source.ImageMapGuide
2014-08-19 09:44:15 +02:00
tsauerwein
b30ed6b934
Put options on objectStack for xml formats
2014-08-19 09:42:44 +02:00
Tim Schaub
e97f79b4ab
Respect XYZ source projection
2014-08-18 23:03:33 -06:00
Tim Schaub
33b68123ac
Add jshint config for tasks and remove lint
2014-08-18 17:22:57 -06:00
Tim Schaub
63ad916ca7
Function for creating tile grids from extents
2014-08-18 17:10:26 -06:00
Tim Schaub
dd5e7693da
General purpose getCorner function for extents
2014-08-18 14:55:49 -06:00
Éric Lemoine
711c4bbc8c
Merge pull request #2450 from probins/events
...
Improve and standardise event docs
2014-08-18 17:35:59 +02:00
Peter Robins
7a5a5d75e7
Improve and standardise event docs
2014-08-18 15:17:02 +00:00
Éric Lemoine
8f7f814d32
Merge pull request #2465 from probins/color
...
Expand docs for color options
2014-08-18 16:53:39 +02:00
Peter Robins
d5e1c27fc1
Expand docs for color options
2014-08-18 14:37:38 +00:00
Éric Lemoine
e53213d730
Merge pull request #2537 from probins/browserfeature
...
Rename BrowserFeature to browserfeature
2014-08-18 16:23:28 +02:00
Antoine Abt
344452bd22
Merge pull request #2443 from tonio/tile-vector
...
More data in tile-vector examples
2014-08-18 15:59:20 +02:00
tsauerwein
e7864be2be
Fix ol.format.transformWithOptions
2014-08-18 15:48:29 +02:00
tsauerwein
539e4a23b9
Introduce defaultDataProjection for formats
2014-08-18 15:31:06 +02:00
Frédéric Junod
b92a0338c9
Merge pull request #2547 from fredj/proj-api
...
Export more functions from ol.proj.Projection
2014-08-18 15:00:13 +02:00
Éric Lemoine
a7e32469fa
Merge pull request #2512 from petrsloup/olcs-missing-api
...
Make API of raster sources more convenient
2014-08-18 14:23:49 +02:00
Frederic Junod
d7c2e27d50
Export ol.proj.Projection#getMetersPerUnit function
2014-08-18 14:21:10 +02:00
Frederic Junod
e39e9c2230
Export ol.proj.Projection#isGlobal function
2014-08-18 14:21:10 +02:00
Antoine Abt
139ea4c7d2
Merge pull request #2513 from probins/editstyle
...
Move createDefaultEditingStyles() to ol.style
2014-08-18 14:11:35 +02:00
Petr Sloup
d7027a6a64
Export getLayers and setLayers methods of ol.layer.Group
...
This is nicer than having to use .get("layers") and .set("layers", x).
2014-08-18 13:48:42 +02:00
Petr Sloup
1d5c746974
Export getHTML method of ol.Attribution to the api
2014-08-18 13:48:34 +02:00
Petr Sloup
0ac90e62b9
Added some api annotations required for accessing layer properties
2014-08-18 13:48:14 +02:00
Éric Lemoine
c83ae8a284
Merge pull request #2544 from elemoine/mapguide
...
Params not correctly handled in MapGuide source
2014-08-18 13:21:34 +02:00
Éric Lemoine
e7083aef1d
Params not correctly handled in MapGuide source
2014-08-18 12:17:32 +02:00
Frédéric Junod
c7bf94e69b
Merge pull request #2528 from fredj/wmts-source-optim
...
ol.source.WMTS optimization
2014-08-18 11:24:41 +02:00
Éric Lemoine
9072fb1f2f
Merge pull request #2543 from elemoine/foreachfeature
...
Do not hit-detect the same feature multiple times
2014-08-18 10:38:38 +02:00
Frederic Junod
b484801e4f
Use tmpExtent in ol.source.WMTS tileUrlFunction
2014-08-18 10:35:14 +02:00
Frederic Junod
8076401c0f
Use opt_tileCoord in ol.source.WMTS tileUrlFunction
2014-08-18 10:35:14 +02:00
Éric Lemoine
c81dfdc69b
Do not hit-detect the same feature multiple times
...
In other words forEachFeatureAtPixel should not call the user-provided callback more than once for a given feature.
2014-08-18 10:24:12 +02:00
Éric Lemoine
0779b4ef79
Merge pull request #2539 from elemoine/tilecoord
...
Change ol.TileCoord to Array.<number>
2014-08-18 10:21:35 +02:00
Éric Lemoine
ba035abb1f
Change ol.TileCoord to an Array
2014-08-18 09:33:24 +02:00
Paul Spencer
1fc620b7bb
Merge pull request #2527 from pagameba/cluster-fix
...
Return rather than fail if resolution is not defined
2014-08-16 19:26:37 -04:00
Peter Robins
e35531e7c6
Rename BrowserFeature to browserfeature
2014-08-15 13:53:20 +00:00
Éric Lemoine
0d20b337a0
Merge pull request #2348 from probins/getget
...
Enable ProjectionLike on getGetFeatureInfoUrl
2014-08-15 11:37:20 +02:00
Peter Robins
7b32b8e561
Enable ProjectionLike on getGetFeatureInfoUrl
2014-08-15 08:42:40 +00:00
Frédéric Junod
7097be3d00
Merge pull request #2532 from fredj/tilerange-cleanup
...
Add ol.TileRange#containsXY function
2014-08-14 13:59:23 +02:00
Frédéric Junod
db6c87a9bd
Merge pull request #2529 from petrsloup/source-state-fix
...
Fix for invalid initial state of certain sources
2014-08-14 12:23:49 +02:00
Éric Lemoine
a16a678ca7
Be stricter with types
2014-08-14 10:56:48 +02:00
Frederic Junod
14fc16b91d
Add ol.TileRange#containsXY function
2014-08-14 10:50:19 +02:00
Frédéric Junod
8c3a72497c
Merge pull request #2531 from fredj/debugtile-cleanup
...
Remove unneeded ol.DebugTile_#tileCoord_ variable
2014-08-14 10:17:36 +02:00
Frederic Junod
abc01b5f10
Remove unneeded ol.DebugTile_#tileCoord_ variable
2014-08-14 09:43:05 +02:00
Petr Sloup
5d31d2044a
Added "state" property of olx.source.TileImageOptions to the olx externs
2014-08-14 09:32:27 +02:00
Petr Sloup
4b24eb6eb2
Added 'state' constructor option to Tile and TileImage sources
2014-08-13 17:11:29 +02:00
Frédéric Junod
ff209d8759
Merge pull request #2526 from fredj/xyz-retina
...
Fix incorrect maximum extent in xyz-retina example
2014-08-13 16:40:25 +02:00
tsauerwein
1205d0fe1e
Fix ol.format.GML.readProjectionFromNode
2014-08-13 10:32:26 +02:00
Frederic Junod
3b817d8db3
Fix attribution in xyz-retina example
2014-08-13 08:59:42 +02:00
Paul Spencer
fb242b5316
Return rather than fail if resolution is not defined
2014-08-12 20:27:17 -04:00
Frederic Junod
2b8426fb47
Fix incorrect maximum extent in xyz-retina example
2014-08-12 18:09:00 +02:00
Frédéric Junod
4fb905170a
Merge pull request #2525 from fredj/reuse-tileRange
...
Reuse tileRange in ol.renderer.Layer#manageTilePyramid
2014-08-12 17:53:56 +02:00
Éric Lemoine
9cf653f0f2
Merge pull request #2510 from elemoine/check
...
Make the check target build ol.js
2014-08-12 17:49:53 +02:00
Frederic Junod
f2638ddfbf
Reuse tileRange in ol.renderer.Layer#manageTilePyramid
...
This avoids a lot of garbage.
2014-08-12 14:37:46 +02:00
Éric Lemoine
c16622be9e
Merge pull request #2519 from probins/view
...
Small corrections to ol.View docs
2014-08-12 09:19:39 +02:00
Peter Robins
5247903a4a
Small corrections to ol.View docs
2014-08-12 07:13:10 +00:00
Andreas Hocevar
45f24ee097
Merge pull request #2518 from probins/centercon
...
Remove centerConstraintType from API
2014-08-11 20:22:06 +02:00
Peter Robins
8bc5a928a7
Remove centerConstraintType from API
2014-08-11 17:15:08 +00:00
Andreas Hocevar
e69f065a23
Merge pull request #2479 from ahocevar/generate-externs
...
Node task to generate externs for OpenLayers 3
2014-08-11 18:29:04 +02:00
Peter Robins
ed2f2befdf
Move createDefaultEditingStyles() to ol.style
2014-08-11 15:39:21 +00:00
Frédéric Junod
6ca3e83492
Merge pull request #2511 from fredj/cleanup
...
Remove unused goog.require
2014-08-11 15:31:00 +02:00
Éric Lemoine
b3b5572763
Make the check target build ol.js
2014-08-11 14:22:01 +02:00
tsauerwein
294afe16fe
Fix compiler type errors
2014-08-11 14:04:31 +02:00
Frederic Junod
ddd16b6985
Remove unused goog.require
2014-08-11 13:49:30 +02:00
tsauerwein
3ff180b224
Implement read transforms for ol.format.WFS
2014-08-11 12:22:29 +02:00
tsauerwein
48ed2e861e
Implement read/write transforms for ol.format.Polyline
2014-08-11 11:59:27 +02:00
Peter Robins
d9976ca207
Fix missing API docs
2014-08-11 09:35:16 +00:00
tsauerwein
f8560df793
Implement read transforms for ol.format.IGC
2014-08-11 10:51:34 +02:00
tsauerwein
9bc70f3459
Implement read/write transforms for ol.format.WKT
2014-08-11 10:17:31 +02:00
Andreas Hocevar
286db65d34
Use {*} instead of {goog.*} types in externs file
2014-08-09 09:05:54 +02:00
Andreas Hocevar
e294ca1868
Keep track of all symbols
...
This avoids that we add parent namespaces of symbols that were already
added because they have their own definition in the externs.
2014-08-09 08:53:25 +02:00
Andreas Hocevar
8a56f455f1
Define constructor before its members
2014-08-09 08:53:24 +02:00
Andreas Hocevar
63abbe2597
Prepend 'var ' for root symbols
2014-08-09 08:53:24 +02:00
Andreas Hocevar
9780e9f0c0
Dereference typedef
2014-08-09 08:53:24 +02:00
Andreas Hocevar
a35f361683
Build types only for olx.* symbols from externs
2014-08-09 08:53:24 +02:00
Andreas Hocevar
9e814f119f
Do not process file type doclets
2014-08-09 08:53:24 +02:00
Andreas Hocevar
e8eebd8846
Allow to provide externs for inclusion in info.json
2014-08-09 08:53:24 +02:00
Tim Schaub
9db936fe87
Merge pull request #2508 from tschaub/post-install
...
Run closure-util install script after install.
2014-08-08 11:20:55 -07:00
Tim Schaub
bdfceaad06
Run closure-util install script after install
...
This needs to be run whenever our closure-util.json config changes. It is harmless to run multiple times.
2014-08-08 11:08:37 -07:00
tsauerwein
bfb6c2e3b8
Implement read transforms for ol.format.OSMXML
2014-08-08 17:25:05 +02:00
tsauerwein
b05f880f7c
Implement read/write transforms for ol.format.KML
2014-08-08 17:10:11 +02:00
tsauerwein
31dbbc6a8c
Implement read/write transforms for ol.format.GPX
2014-08-08 15:50:55 +02:00
tsauerwein
e446738491
Implement read transforms for ol.format.TopoJSON
2014-08-08 11:43:53 +02:00
tsauerwein
3090a0af37
Fix GeoJSON.readFeaturesFromObject
...
Only feature collections worked properly.
2014-08-08 11:14:03 +02:00
tsauerwein
281fd3c6a9
Implement GML.readProjectionFromNode()
2014-08-08 10:54:40 +02:00
Andreas Hocevar
9575396aad
Fix types in olx.js
2014-08-04 20:37:46 +02:00
Andreas Hocevar
53e12e7e47
Add typedefs for externs/olx.js contents
2014-08-04 20:37:46 +02:00
Andreas Hocevar
f0242a76c4
Include typedefs and types from olx.js
2014-08-04 20:37:46 +02:00
Andreas Hocevar
58f857bbb6
Test whether externs/olx.js is newer than build/info.json
2014-08-04 20:37:45 +02:00
Andreas Hocevar
33a627b7ce
Include externs/olx.js in the info generation
2014-08-04 20:37:45 +02:00
Andreas Hocevar
a40170feb7
Include typedefs in externs
2014-08-04 20:37:45 +02:00
Andreas Hocevar
b2059b85d2
Add data for typedefs to info.json
2014-08-04 20:37:45 +02:00
Andreas Hocevar
26dae36a0b
Extract types in a separate function
2014-08-04 20:37:45 +02:00
Andreas Hocevar
46b74cedf8
Only add object type definition when there is no constructor
2014-08-04 20:37:44 +02:00
Andreas Hocevar
94e2911697
Fix function type so the function is optional, not the return value
2014-08-04 20:37:44 +02:00
Andreas Hocevar
9517c0d433
Use 'Function' type instead of 'function'
2014-08-04 20:37:44 +02:00
Andreas Hocevar
66bde546c0
Avoid duplicate constructors
2014-08-04 20:37:44 +02:00
Andreas Hocevar
1e79acac20
Build externs file from info.json
...
This change adds all information that is needed to generate the externs
file to build/info.json, so tasks/generate-externs.js no longer needs
to spawn JSDoc.
2014-08-04 20:37:44 +02:00
Andreas Hocevar
0d86e4a237
Document the generate-externs.js task
2014-08-04 20:37:44 +02:00
Andreas Hocevar
4cb60feb40
Add generate-externs task to create build/ol-externs.js
2014-08-04 20:37:43 +02:00
Andreas Hocevar
0b622ba5e7
Add JSDoc configuration to generate ol3 externs
2014-08-04 20:37:43 +02:00
Andreas Hocevar
8e6711835c
Move plugins one level up so they can be used by other configurations
2014-08-04 20:37:43 +02:00
Andreas Hocevar
65346d716d
Add GeoJSON tests for write transforms
2014-07-31 17:55:43 +02:00
Andreas Hocevar
c4fdbacc12
Make options complete in ol.format.Feature already
2014-07-31 17:55:43 +02:00
Andreas Hocevar
4825cba48a
Implement ReadOptions and WriteOptions for ol.format.GML
2014-07-31 17:55:43 +02:00
Andreas Hocevar
da0988f5f4
Add ReadOptions and WriteOptions for XML formats
2014-07-31 17:54:41 +02:00
Andreas Hocevar
b8a834b437
Add transform tests for GeoJSON readFeatures
2014-07-31 17:54:41 +02:00
Andreas Hocevar
46bba1fa3c
Get projection from data if dataProjection is not specified
2014-07-31 17:54:41 +02:00
Andreas Hocevar
ee5f85df9f
Add transformGeometry function to avoid repeated code
2014-07-31 17:54:41 +02:00
Andreas Hocevar
68d572e062
Better descriptions of options
2014-07-31 17:54:41 +02:00
Andreas Hocevar
464eb3ccf5
Make projection retrieval consistent
2014-07-31 17:54:41 +02:00
Andreas Hocevar
4c4a335448
Implement write transforms for ol.format.GeoJSON
2014-07-31 17:54:41 +02:00
Andreas Hocevar
8aa799850d
Add write transform capability to ol.format.JSONFeature
2014-07-31 17:51:25 +02:00
Andreas Hocevar
b0d95b326a
Introduce WriteOptions for feature formats
2014-07-31 17:51:25 +02:00
Andreas Hocevar
3245b8c6af
Update read* signatures in ol.format.JSONFeature to use options
2014-07-31 17:51:25 +02:00
Andreas Hocevar
0ea55b7f27
Use a ReadFeatures object instead of sourceProjection/targetProjection
2014-07-31 17:51:25 +02:00
Éric Lemoine
225791c969
Add target/sourceProjection to ol.format.GeoJSON#read*
2014-07-31 17:51:24 +02:00
Éric Lemoine
d13261a21a
Add target/sourceProjection to ol.format.JSONFeature#read*
2014-07-31 17:51:24 +02:00
Éric Lemoine
534a178a49
Add target/sourceProjection to ol.format.Feature#read*
2014-07-31 17:51:24 +02:00
Jesse F. LaRue
f8824fa4b0
Correct typo in documentation
...
corrected homonym error.
2014-07-25 14:19:53 -07:00
Antoine Abt
49299dfe44
Uncheck heavy layers by default
2014-07-25 17:04:00 +02:00
Antoine Abt
338f86f774
More data in example
2014-07-25 16:02:56 +02:00
Antoine Abt
cb03648704
Limit map size
2014-07-25 16:02:56 +02:00
Peter Robins
eb8dc15d8d
Additional clarifications for tasks/readme
2014-07-21 16:12:34 +00:00