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
Frederic Junod
415e7a6dd4
Rename TileJSONOptions.uri to TileJSONOptions.url
2013-03-25 10:17:37 +01:00
Tom Payne
096d48b4e8
Rename AnchoredElement to Overlay
2013-03-24 20:30:12 +01:00
Tom Payne
422ed4bd43
Clean up side-by-side example
2013-03-22 14:39:17 +01:00
Bruno Binet
3d87ecd858
Merge pull request #354 from bbinet/fix-wmts-from-cap-example
...
wmts-from-capabilities example doesn't work because of referer check
2013-03-22 01:51:46 -07:00
Marc Jansen
10ef5eff8b
Keep the search-filter on submit in example index.
...
When one would hit `ENTER` after filtering the list of examples, the form would
be submitted and the filter would be gone after the page reload. By giving the
main search field the appropriate `name`-attribute, this is being solved.
2013-03-21 15:32:06 +01:00
Bruno Binet
c11193f71d
Use Vienna wmts in wmts-from-capabilities example
...
vienna wmts capabilities url is:
http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml
2013-03-21 14:03:09 +01:00
Éric Lemoine
7949cdaa82
crossOrigin defaults to null
2013-03-21 10:37:31 +01:00
Bruno Binet
7038ac0c81
Merge pull request #356 from bbinet/issue-356
...
Can't parse http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml
2013-03-21 02:10:56 -07:00
Frédéric Junod
c418beb350
Merge pull request #403 from fredj/export-map
...
Add png output
2013-03-21 01:24:11 -07:00
Tim Schaub
f74940fe2b
Using a server that is not down ( closes #406 )
2013-03-20 16:00:26 -06:00
Frederic Junod
f2b69a2a13
Add png output
2013-03-20 17:00:49 +01:00
Bruno Binet
641e492c95
Update social links in wmts-capabilities example
2013-03-20 15:25:45 +01:00
Bruno Binet
48e142d3f0
Fix wmts-capabilities example
...
the parsing of the wmts getCapabilities document require proj4js.
Also initialize common ol3 projections with ol.projection.addCommonProjections
so that it won't try to get EPSG:3857 from proj4js.
2013-03-20 14:39:14 +01:00
Frederic Junod
2eb5454ac4
Add wmts-capabilities example
2013-03-20 14:39:13 +01:00
Tim Schaub
26aefc1f63
The _blank target is an antipattern
...
The examples all have links back to the index page. People know how to open links in new tabs/windows when they want to.
2013-03-19 12:18:08 -06:00
Tim Schaub
462659a9fc
Use index.html instead of example-list.html
...
The original decision to avoid index.html was because it only works with a build step. Since we've all accepted a build step, the more sensible name is index.html. Without this change, every hosted example has a link to http://openlayers.github.com/ol3/master/examples/example-list.html which 404s.
2013-03-19 12:17:00 -06:00
Tim Schaub
374e436872
Picking a color that shows up more clearly on bluemarble
2013-03-19 11:54:50 -06:00
Tim Schaub
251d6fc488
Example touch-ups
...
The strokeStyle property is now spelled strokeColor. There is no sense in setting opacity to 1.5. Moving map initialization up.
2013-03-19 06:38:50 -06:00
Tim Schaub
1ac77b1a6f
Make social links more social
2013-03-18 13:27:47 -06:00
Tim Schaub
4cec0546c8
Range from -π to π in rotation inputs (see #392 )
2013-03-18 12:10:44 -06:00
Frederic Junod
7ee9a4c8a3
Add ol.dom.Input
2013-03-18 16:24:31 +01:00
Éric Lemoine
b381b28169
Merge pull request #381 from elemoine/countriesjson
...
The vector-layer example does not work when hosted
2013-03-17 01:36:35 -07:00
Éric Lemoine
51625b8008
Make vector-layer example ignore XHR errors
...
This is a workaround for our check-example.js PhantomJS script to work with this example. Without this check-example.js fails because xhr.status is 0. I tried to give the explicit file:/// scheme as indicated in https://groups.google.com/d/msg/phantomjs/wFGme0pE-Tk/WUjU5s-27NwJ , but that didn't work for me.
2013-03-15 15:46:40 +01:00
Éric Lemoine
a34adc6f62
Add countries.json to examples data dir
...
The examples cannot use files located in the test dir, or they won't work when hosted as GitHub pages.
2013-03-15 14:25:05 +01:00
Marc Jansen
2641a1135f
Add fallback when examples are opened w/ file://.
...
When opening an example through the `file:`-protocol, e.g.
`file:///ol3/examples/full-screen.html` our `loader.js` would inject
a `<script>` tag with a `src` pointing to an illegal URL
`http://:9810/compile?mode=ADVANCED&id=full-screen `.
This changes the respective logic, so that in the case that we are accessed
through the `file:`-protocol, we fallback to using `localhost` as hostname
for the plovr-compiler.
The examples that do not use XHR (like e.g. `wms-capabilities.html`) now
work as expected when accessed through `file:`-protocol.
2013-03-15 10:29:01 +01:00
Bruno Binet
6cf20ef82f
Remove unused goog.require directives
...
See #367 .
2013-03-14 14:57:21 +01:00
Éric Lemoine
8ca763cdbd
Merge pull request #330 from cedricmoullet/wmscustom
...
Add single image WMS with custom projection example
2013-03-14 06:21:42 -07:00
Éric Lemoine
38f1af6204
Merge pull request #366 from elemoine/347
...
Add ScaleLine control to wms-custom-proj example
2013-03-14 06:15:50 -07:00
Cédric Moullet
d66e67966d
Add ScaleLine control to wms-custom-proj example
...
This requires using Proj4js, and configuring it with an extent.
2013-03-14 14:01:29 +01:00
Bruno Binet
15ce80f42e
Merge pull request #364 from bbinet/fix-check-requires
...
Fix check for unused goog.require directives
2013-03-14 04:29:41 -07:00
Bruno Binet
9b1c389c80
Remove unused goog.require directives
2013-03-14 11:39:43 +01:00
Marc Jansen
9798eb5fa8
Don't use non-exported method in example.
2013-03-14 09:37:36 +01:00
Marc Jansen
f496471273
Simplify example and let it use real resolutions.
...
Thanks to @twpayne for the suggestion.
2013-03-14 09:37:35 +01:00
Marc Jansen
8bf71ebb3a
Add a zoomslider control.
2013-03-14 09:37:35 +01:00
Frederic Junod
02e6937db3
Add a basic layer selector in bing-maps example
2013-03-13 13:36:49 +01:00
ahocevar
14d9ff3b81
Using a server that is not down
...
fix #353
2013-03-13 09:59:25 +01:00
ahocevar
fad036aa53
Merge branch 'master' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/objectliterals.exports
2013-03-12 08:39:16 +01:00
ahocevar
f5b53740e6
Define map at the top
2013-03-12 08:28:24 +01:00
ahocevar
47e5b0475b
Since #274 we don't need to create an ol.Collection explicitly
2013-03-12 08:24:31 +01:00
Cédric Moullet
d9e1fdf13c
Change the way the projection is managed and use ol.projection.configureProj4jsProjection
2013-03-11 20:25:29 +01:00
Tom Payne
2a5d07d929
Use a single map in the canvas tiles example
2013-03-11 17:07:27 +01:00
Bruno Binet
837aa7512b
Merge pull request #342 from bbinet/wmts
...
Add WMTS support.
2013-03-11 08:05:25 -07:00
Bruno Binet
61603dacce
WMTS from swisstopo now supports CORS headers
2013-03-11 15:47:42 +01:00
ahocevar
a66f26f839
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-11 15:21:01 +01:00
Bruno Binet
d14b1c57a9
Remove ImageLayer from wmts-from-capabilities example
2013-03-11 15:15:53 +01:00