Andreas Hocevar
e848acd806
Merge pull request #3780 from ahocevar/call-tileurlfunction-with-transformed-tilecoord
...
Only expose transformed tile coordinates to the API
2015-06-12 11:18:16 +02:00
Andreas Hocevar
acab0ebd57
Display transformed tile coordinates in ol.source.TileDebug
2015-06-12 09:46:17 +02:00
Andreas Hocevar
6a4d1c9b89
Pass transformed tile coordinates to the tileUrlFunction
2015-06-12 09:45:03 +02:00
Andreas Hocevar
7451e176ef
Use capabilities to create layer source options
2015-06-10 18:32:21 +02:00
Andreas Hocevar
53d5d8c1d9
Get rid of ol.FeatureOverlay
...
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Peter Robins
1f6d2eff96
Snap example: remove featureoverlay from tags
2015-05-28 07:57:17 +00:00
Andreas Hocevar
4be106d014
Merge pull request #3673 from ahocevar/draw-regular-polygon
...
More control over ol.interaction.Draw, to allow e.g. square drawing
2015-05-20 12:08:15 +02:00
Andreas Hocevar
100020fd59
Refactoring for more consistency
...
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Bart van den Eijnden
1dbf8cd4d6
Make sure vector-wfs example works in JSFiddle
2015-05-19 21:08:30 +02:00
Marc Jansen
26ad3fe6b1
Add an example for various blend modes
2015-05-15 13:33:31 +02:00
Andreas Hocevar
19c91235ce
Add convenience function to create a regular polygon geometryFunction
2015-05-14 23:24:29 +02:00
Tim Schaub
b602285992
Add metadata to the mobile full-screen example
2015-05-08 06:39:06 -06:00
Tim Schaub
82b1355591
Add metadata to the geolocation orientation example
2015-05-08 06:31:34 -06:00
Marc Jansen
ebded733f7
Add proj4js/projection definition files to example
2015-05-06 13:27:27 +02:00
Andreas Hocevar
b05193fa45
Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function
2015-05-05 18:52:33 +02:00
Andreas Hocevar
a116878a57
Allow extents to restrict tile ranges requested from the server
...
The addition of full extent tile ranges also allows us to simplify wrapX
handling for tile layers. By limiting wrapX to true and false as possible
values, we can remove a lot of guessing logic.
2015-05-05 18:52:33 +02:00
tarang
bf91c1792b
added altclick select to selectfeatures example
2015-04-29 15:12:51 +05:30
Andreas Hocevar
1d6530ce9c
Merge pull request #3616 from ahocevar/freehand-drawing
...
Add support for freehand drawing to the Draw interaction
2015-04-27 11:27:10 +02:00
Andreas Hocevar
ed7e5ddef7
Improve the draw-features example description
2015-04-27 11:10:16 +02:00
Tim Schaub
c31ae25892
Replace non-breaking space (U+00A0) with regular space (U+0020)
2015-04-22 10:41:10 -06:00
Bart van den Eijnden
3b8e272a11
Better error handling in the ArcGIS REST vector examples
2015-04-22 12:01:28 +02:00
Tobias Sauerwein
2a95049ac4
Merge pull request #3560 from tsauerwein/permalink-example
...
Add an example showing how to create a permalink
2015-04-22 09:24:06 +02:00
Andreas Hocevar
90b736c62e
Merge pull request #3571 from ahocevar/vector-wrapx
...
Add wrapX support for vector layers (canvas renderer only)
2015-04-22 09:21:02 +02:00
tsauerwein
b8ec2e28b5
Add permalink example
2015-04-22 09:00:18 +02:00
Bart van den Eijnden
dab6567aec
Make sure vector-esri-edit example works hosted
2015-04-20 21:06:15 +02:00
Frederic Junod
c31a9ee71e
Use getRendererFromQueryString() in wms-image examples
2015-04-20 12:13:55 +02:00
Peter Robins
22f22b2877
Simplify dragAndDropInteraction in examples
2015-04-19 13:26:25 +00:00
Bart van den Eijnden
ed76bdb095
Merge pull request #3555 from bartvde/esri-json
...
Esri JSON support
2015-04-19 10:32:38 +02:00
Andreas Hocevar
9a58151caa
Do not wrapX for editing
2015-04-18 19:10:54 +02:00
Tim Schaub
e65800ca63
Always show links to related API documentation
...
This is based on the assumptions that
* our examples always goog.require something ol.* (otherwise why have the example)
* our examples only goog.require exportable symbols or "namespaces" for exportable symbols (e.g. ol.control for the defaults function)
* we have an API doc page for each exportable symbol and each "namespace" that has exportable symbols (e.g. ol.Map.html and ol.control.html)
It may be that this assumption proves to be wrong, but it would be nice to avoid the extra network traffic and layout shifting when examples load.
2015-04-17 15:41:38 -06:00
Marc Jansen
0fcd312812
Check if API-docs point to existing resources
2015-04-17 21:54:15 +02:00
Marc Jansen
fedceb9a05
Automatically add links to API-docs in examples
...
When we create the examples, we know exactly which specific `ol.…` symbols
we `goog.require(…)`. We can create links to the API documentation of these
symbols automatically.
2015-04-17 21:50:50 +02:00
Tim Schaub
ad95efd795
Use HTTP for {a-c}.tile.opencyclemap.org
...
While the resource is available via HTTPS, it currently generates NET::ERR_CERT_COMMON_NAME_INVALID.
2015-04-17 10:40:59 -06:00
Bart van den Eijnden
32120f6cfb
Move examples to examples directory
2015-04-17 18:39:05 +02:00
Tim Schaub
0dfc2ce44f
Avoid protocol relative URLs
...
These fail to load in contexts where the "file protocol" is used (e.g. PhantomJS).
2015-04-17 10:30:31 -06:00
Tim Schaub
14b7edb140
Keep the examples simple
...
Please write blog posts, create tutorials, or develop workshops that show off cool ways to develop applications that use OL3. The examples should be kept very simple. This download functionality is neat, but it's really a gratuitous use of non-map related functionality. While it does demonstrate the use of `format.writeFeatures()`, this is buried in too much additional code that is not accessible (buried in resources/common.js) and not really related to mapping things. If we want to have examples that demonstrate how formats can be used to serialize features, a simple textarea would suffice as the target.
2015-04-17 09:55:44 -06:00
Tim Schaub
c5cf709c55
The common.js script makes a "common" object available
2015-04-17 09:49:53 -06:00
Tim Schaub
eff14b06e0
Refactor common example script and run the linter on it
2015-04-17 09:43:46 -06:00
Tim Schaub
f2600977ae
Avoid words with contentious alternative spellings
2015-04-17 09:43:37 -06:00
Tim Schaub
7c8eaae6a1
Remove jQuery from mobile fullscreen example
2015-04-17 06:22:39 -06:00
Tim Schaub
f712123e93
Remove jQuery use from IGC example
2015-04-17 06:22:39 -06:00
Tim Schaub
c385a1b7dd
Remove jQuery use from earthquake heatmap example
2015-04-17 06:22:39 -06:00
Tim Schaub
2f160d29c7
Remove jQuery use from geolocation example
2015-04-17 06:22:39 -06:00
Tim Schaub
c3362c1685
Remove jQuery use from geolocation orientation example
2015-04-17 06:22:39 -06:00
Tim Schaub
0121a12293
Remove jQuery use from device orientation example
2015-04-17 06:22:39 -06:00
Tim Schaub
d2062d241d
Remove jQuery use from Bing example
2015-04-17 06:22:39 -06:00
Tim Schaub
daccfd25c9
Remove jQuery use from accessible example
2015-04-17 06:22:39 -06:00
Tim Schaub
c8adf22438
Use DOM methods instead of jQuery in common example script
2015-04-17 06:22:38 -06:00
Tim Schaub
89f5e711e6
Example sources in the examples dir
2015-04-17 06:22:38 -06:00
Andreas Hocevar
ff1ee78ddd
Build and parse examples from examples_src/
2015-04-02 19:10:09 +02:00