ahocevar
666a010e3b
Point-in-polygon improvements
...
As suggested by @tschaub in #674 , geom.pointInPoly is not needed
if we have geom.LinearRing#containsCoordinate. This pull request
also adds tests and documentation on the limitations of the
containsCoordinate method.
I think for now it is ok to keep geometry/topology functions as
simple as possible in ol3. If we decide to not rely on third
party libraries like jsts for topology operations, we can always
refine what we have and e.g. port topology operations over from
ol2.
2013-05-07 10:49:51 +02:00
Tim Schaub
ffe9105891
Rename onOnce to once (see #678 )
2013-04-30 14:58:39 -06:00
ahocevar
d2c81db06a
Info box instead of tooltip as suggested by @fredj
2013-04-30 14:15:39 +02:00
ahocevar
cc1b70c74b
Giving the map a getFeatureInfoForPixel method
...
This method is an entry point for getting feature information.
Renderers can use a hit canvas or defer to a layer (source) to
get matching features for a pixel.
For now this is only implemented for vector layers, and it uses
a bbox query because we cannot refine the result because of
missing geometry intersection functions yet.
2013-04-30 13:32:16 +02:00
Tom Payne
390cc17161
Cosmetic clean-ups
2013-04-28 20:01:44 +02:00
Tom Payne
b666fc49b7
Add spiral to Madrid animation example
2013-04-28 20:01:25 +02:00
Tom Payne
3643908427
Only set center once in mobile full screen example
2013-04-25 19:41:03 +02:00
Tom Payne
bd0512fea7
Show off
2013-04-24 01:38:03 +02:00
Tom Payne
bedfa5e2d3
Merge pull request #640 from twpayne/interaction-options
...
Interaction options
2013-04-23 07:11:56 -07:00
Tom Payne
d1b2e4e483
Add drag rotate and zoom example
2013-04-23 15:31:16 +02:00
Éric Lemoine
29e69d3833
Simplify teleport example
2013-04-23 14:05:11 +02:00
Éric Lemoine
8e8804caf1
Add a teleport map example
2013-04-23 10:42:18 +02:00
Bart van den Eijnden
feb6c4c2d7
Add AsyncStringFeatureParser and use plain
...
XMLHttpRequest in the KML example
Since the content-type on github.io is application/octet-stream we need
to implement an Async string based parser interface in the KML parser.
Also use plain XmlHttpRequest in the example instead of jQuery Ajax since
the vector-features example also uses that.
2013-04-22 16:45:33 +02:00
Tom Payne
ddb295cc77
Add full screen example for mobile devices
2013-04-20 16:56:31 +02:00
Tom Payne
a642868cfa
Port examples to new extents
2013-04-19 10:03:36 +02:00
Frederic Junod
51d14e95d7
Update Bing Maps key, see #554
2013-04-18 10:10:31 +02:00
Éric Lemoine
6d282e939d
Update Bing Maps key (Expiration Date: 07/16/2013)
2013-04-17 13:23:16 +02:00
Éric Lemoine
78b2983fdf
maxZoom 18 in localized-openstreetmap example
2013-04-14 22:14:05 +02:00
Bart van den Eijnden
d1d18ad325
Merge pull request #517 from bartvde/kmlfresh3
...
Add a parser for reading and writing KML (r=@tschaub,@fredj,@twpayne)
2013-04-11 23:50:44 -07:00
Frederic Junod
7b0e036b83
Hide the control if the Fullscreen API is not supported
2013-04-11 18:25:31 +02:00
Tom Payne
0bd11d0a70
Use full screen control in full screen example
2013-04-11 18:25:31 +02:00
Bart van den Eijnden
8cc70f35d9
use goog.global, restructure to have ol.parser.KML instead of ol.parser.ogc.KML
2013-04-10 10:17:28 +02:00
Éric Lemoine
a694661793
OpenStreetMap to OSM renaming
...
OSM is a well-known name, and is shorter than OpenStreetMap.
2013-04-10 10:07:49 +02:00
Éric Lemoine
32560e8699
Merge pull request #516 from elemoine/no-getview2d-in-examples
...
Do not use getView2D in the examples
2013-04-09 11:13:40 -07:00
Bart van den Eijnden
577ebd6abe
move examples/kml to examples/data/kml
2013-04-09 16:17:36 +02:00
Bart van den Eijnden
ed9861317f
Add a parser for reading and writing KML.
...
This adds ol.parser.ogc.KML which can be used to read and write KML documents.
NetworkLinks are retrieved asynchronously.
Current caveats of the implementation are:
* LabelStyle not yet implemented. Missing support in renderers.
* When using shared structures the parser needs to be configured with
dimension 2.
* We need a better way to disable fill, currently we use opacity as a
workaround.
* We cannot really roundtrip documents, since some of the info is not
preserved in the ol structures. But we can write out most of the important
info.
2013-04-09 15:34:03 +02:00
Éric Lemoine
572055127c
Do not use getView2D in the examples
2013-04-09 15:28:20 +02:00
Tom Payne
cdc67a141a
Remove preload from examples that don't need it
2013-04-09 13:15:16 +02:00
Tom Payne
24cfd8a9be
Merge pull request #496 from twpayne/check-whitespace
...
Check whitespace
2013-04-08 06:06:15 -07:00
Éric Lemoine
879ea4f488
Merge pull request #473 from elemoine/value-resolution
...
Exponential scaling to ZoomSlider
2013-04-08 05:22:38 -07:00
Tom Payne
81712a28a3
Fix whitespace errors in examples
2013-04-08 13:24:10 +02:00
Éric Lemoine
516f21eb17
Make ZoomSlider use View2D value/resolution funcs
2013-04-08 12:51:14 +02:00
Tom Payne
0221998120
Fix OpenStreetMap attributions
2013-04-08 12:32:03 +02:00
Frederic Junod
abf3896a71
Fix bootstrap.min.js path in overlay example
2013-04-08 10:01:38 +02:00
Tom Payne
910ee493e5
Add localized OpenStreetMap example
2013-04-07 10:24:44 +02:00
ahocevar
d61b70f696
Merge pull request #444 from ahocevar/jsdoc
...
Enabling Markdown and other JSDoc improvements. r=@marcjansen,@Turbo87
2013-04-05 09:41:27 -07:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
Frédéric Junod
4a5ed629cc
Merge pull request #466 from fredj/popover
...
Use popover from Bootstrap
2013-04-05 01:16:04 -07:00
Frederic Junod
73791040c1
Quote object keys to prevent renaming in ADVANCED_OPTIMIZATIONS mode
2013-04-05 09:13:33 +02:00
Frederic Junod
ea97c8687c
Update overlay example tags and doc
2013-04-05 08:59:56 +02:00
Tim Schaub
613b9d7592
Correct link to example source
2013-04-04 21:40:35 -06:00
Frederic Junod
f806ac5807
Use map.on instead of map.addEventListener
2013-04-04 16:08:45 +02:00
ahocevar
6c5377eebe
Creating a resources folder for use by examples and API docs
2013-04-04 15:18:15 +02:00
Frederic Junod
1311464ea6
Use popover from Bootstrap
2013-04-04 14:48:42 +02:00
Marc Jansen
66c03f4178
Fix typo in example.
2013-04-04 07:27:53 +02:00
Tom Payne
6b01ff9327
Correct preload example tags, thanks @fredj
2013-03-27 15:10:34 +01:00
Tom Payne
66c6a8a3e0
Make preload a number of levels instead of a boolean
2013-03-27 14:34:29 +01:00
Tom Payne
421135b3e7
Set preload appropriately in examples
2013-03-27 14:34:29 +01:00
Tom Payne
5077413c34
Add preload example
2013-03-27 14:34:29 +01:00
Frédéric Junod
5c7905178c
Merge pull request #432 from fredj/uri-url
...
Rename TileJSONOptions.uri to TileJSONOptions.url
2013-03-25 03:46:26 -07:00