Commit Graph

10621 Commits

Author SHA1 Message Date
Bruno Binet
59eaa89a54 Fix overlay z-index issue in overlay example 2013-10-30 09:28:26 +01:00
Bruno Binet
86cfdf4da7 Fix overlay z-index issue in popup example 2013-10-30 09:28:26 +01:00
Bruno Binet
71097d9cfc Insert or append overlay based on insertFirst option
This is to fix z-index issues with overlays that pass above ol3 default
controls.
2013-10-30 09:28:25 +01:00
Bruno Binet
69cee6a410 Add insertFirst option in ol.OverlayOptions typedef 2013-10-30 09:28:25 +01:00
Frédéric Junod
9ada23a08a Merge pull request #1182 from fredj/moveend_example
Wrong extent coordinate order in moveend example
2013-10-29 05:23:50 -07:00
Frédéric Junod
e3abfae02c Merge pull request #1189 from fredj/apidoc
Minor apidoc updates
2013-10-29 05:23:40 -07:00
Frederic Junod
9de78f1168 Fix bottom left and top right computation in moveend example 2013-10-29 11:03:10 +01:00
Frederic Junod
3efc810ca9 Quote values in apidoc 2013-10-29 11:01:49 +01:00
Frédéric Junod
7a0cefd872 Merge pull request #1185 from fredj/coord_format
Add ol.coordinate.format function
2013-10-28 23:46:16 -07:00
Tim Schaub
df78a41ff1 Merge pull request #1187 from pagameba/fix-todo-observables
Fix todo observables.
2013-10-28 13:28:53 -07:00
Paul Spencer
d18119d98b Remove unnecessary Get column from observables 2013-10-28 16:12:08 -04:00
Paul Spencer
e858727bd0 Fix @todo observable name reference. 2013-10-28 16:11:40 -04:00
Tim Schaub
18d2eb161e Merge pull request #1180 from pagameba/doc-jsdoc-plugins
Add jsdoc plugins for stability and observables.
2013-10-28 12:36:18 -07:00
Paul Spencer
d3b8d0b676 Add jsdoc plugin that maps @todo tags to @stability and @observable tags.
This is a temporary measure until Plovr handles custom tags or is replaced in the build system.

Add support for indicating API stability with inline documentation

In preparation for documenting the stability of API features, this commit adds support for indicating API stability via a new jsdoc tag @stability.  There is a small plugin for jsdoc that adds a new tag, @stabiility, with some ability to enforce specific level names.  The templates and css have been updated to include the stability level in the generated documentation. (+1 squashed commit)
Squashed commits:
[d6bc03d] Add jsdoc plugin for documenting observable properties of a class.
2013-10-28 15:17:59 -04:00
Frederic Junod
1217243f84 Better ol.coordinate.* documentation 2013-10-28 17:34:54 +01:00
Frederic Junod
9ca74200ed Remove opt_precision check in ol.coordinate.format
Default is already 0, see http://www.ecma-international.org/ecma-262/5.1/#sec-15.7.4.5
2013-10-28 16:26:21 +01:00
Frederic Junod
cdf34b558a Add ol.coordinate.format function
Return a formatted coordinate. Example usage:
  > ol.coordinate.format([0.01 ,12.14], "{x}, {y}", 2)
  "0.01, 12.14"
  > ol.coordinate.format([0.01 ,12.14], "lat: {y} / lon: {x}", 1)
  "lat: 12.1 / lon: 0.0"
2013-10-28 15:32:43 +01:00
Éric Lemoine
5928c1cea1 Merge pull request #1184 from oterral/get_image_element
Fix getImageElement calls in canvas and webgl renderer
2013-10-28 06:32:06 -07:00
Olivier Terral
cc3660f32a Fix getImageElement calls in canvas and webgl renderer 2013-10-28 14:04:40 +01:00
Tim Schaub
1529aad7f6 Merge pull request #1177 from probins/viewdocs
Small addition to view2d docs.
2013-10-27 11:39:44 -07:00
Peter Robins
e73fb871b6 Small addition to view2d docs 2013-10-27 05:53:46 -04:00
Éric Lemoine
d7636f266f Merge pull request #1147 from elemoine/issue-1147
IE 10 Click on popup
2013-10-27 02:09:25 -07:00
Tim Schaub
9d52e85fc3 Merge pull request #1163 from pagameba/doc-stability
Add default stability level to docs of exported things.
2013-10-25 11:40:16 -07:00
Tim Schaub
ca6681afa8 Merge pull request #1171 from probins/mapdocs
Fix error in map docs.
2013-10-25 10:51:23 -07:00
Peter Robins
d5df4bf80b Fix error in map docs
[ci skip]
2013-10-25 13:08:26 -04:00
Paul Spencer
bada596b45 Add default stability level to docs of exported things. 2013-10-24 18:20:24 -04:00
Tom Payne
a13c5d30a2 Merge pull request #1159 from twpayne/export-create-empty
Export ol.extent.createEmpty function
2013-10-24 04:21:55 -07:00
Frederic Junod
409d7d209d Export ol.extent.createEmpty function 2013-10-24 13:13:08 +02:00
Éric Lemoine
c17c21467e Merge pull request #1151 from probins/viewdocs
Some additions to View2d docs
2013-10-22 04:32:25 -07:00
Peter Robins
f5c6565617 Some additions to View2d docs
[ci skip]
2013-10-22 07:15:30 -04:00
Tim Schaub
def4d62142 Merge pull request #1150 from tschaub/bing
Use permanent Bing Maps API key.
2013-10-21 14:31:01 -07:00
Tim Schaub
fdda18b57b Use permanent Bing Maps API key
This key is registered for "Not-for-Profit" use by OpenLayers as a project of OSGeo - a 501(c)(4) organization.

See the complete [Terms of Use](http://www.microsoft.com/maps/product/terms.html) under the Eduction or Non-Profit Organization Use section.
2013-10-21 11:21:11 -06:00
Tim Schaub
e70b55b60b Check resources length of first resource set (see #1149) 2013-10-21 11:18:24 -06:00
Éric Lemoine
c065282243 Stop mspointer events
Stop mspointerup and mspointerdown events reaching the "stop event" overlay container.
2013-10-21 15:33:12 +02:00
Tom Payne
740b6e8b56 Merge pull request #1149 from twpayne/bing-maps-errors
Improve handling of error responses from Bing
2013-10-21 04:59:55 -07:00
Tom Payne
e4eff4658b Improve handling of error responses from Bing
Previously goog.asserts.assert was used to check that the response was
successful, which are stripped from compiled code.  This commit sets the
ERROR state on the source instead.
2013-10-21 12:02:55 +02:00
Éric Lemoine
50cbf2fdac Merge pull request #1146 from probins/setproj
Add 'do not use' warning to view.setProjection
2013-10-20 08:50:17 -07:00
Peter Robins
a479193cf0 Add 'do not use' warning to view.setProjection
[ci skip]
2013-10-20 11:35:41 -04:00
Tom Payne
ba1a4cbac8 Merge pull request #1144 from twpayne/wms-logo
Add missing logo option for ol.source.TileWMS
2013-10-18 07:26:02 -07:00
Tom Payne
2a1bdf6b16 Add missing logo option 2013-10-18 15:56:05 +02:00
Tom Payne
9997e710ea Merge pull request #1143 from twpayne/wmts-logo
Logo given in options not being displayed
2013-10-18 05:32:25 -07:00
Tom Payne
228ff4e56b Add missing logo option 2013-10-18 14:23:16 +02:00
Éric Lemoine
c8f02fcd6e Merge pull request #1141 from elemoine/relay
Do not relay contextmenu and mousemove events
2013-10-18 02:58:17 -07:00
Éric Lemoine
1c890d837e Unconditonally set the framestate focus 2013-10-18 10:03:59 +02:00
Éric Lemoine
08bad9746b Do not relay mouseout events 2013-10-18 10:00:53 +02:00
Éric Lemoine
4008ab7f6c Vector examples display feature info on click again 2013-10-18 09:59:47 +02:00
Éric Lemoine
4c7f30c139 Make overlay container stop touchend and mouseup 2013-10-18 09:59:47 +02:00
Éric Lemoine
70eb5a5f13 Emulate click and dblclick on touch devices 2013-10-18 09:59:47 +02:00
Éric Lemoine
fe3440a83d Use jQuery to listen to map mousemove in examples
This commit also removes the click listener, which was used for touch devices. The click listener will be added back when the lib will correctly handle clicks on touch devices.
2013-10-18 09:59:47 +02:00
Éric Lemoine
938f45a032 Do not relay mousemove events 2013-10-18 09:59:46 +02:00