Commit Graph

2806 Commits

Author SHA1 Message Date
Tom Payne e21c182641 Use Chrome Frame if available 2012-10-17 18:20:25 +02:00
Tom Payne e9dbb00039 Pass query string through example index
This is so that visiting

    /examples/index.html?mode=RAW&Debug=true

will automatically add ?mode=RAW&Debug=true to all links in the
generated index.
2012-10-17 11:31:40 +02:00
Éric Lemoine 4b6ef3c046 Better comments in loader.js 2012-10-16 21:56:35 +02:00
Éric Lemoine 190e21f796 The loader adds link tag for ol.css 2012-10-16 21:55:12 +02:00
Tom Payne f7adc1ae75 Use identical code in compiled and standalone examples 2012-10-15 19:12:55 +02:00
Tom Payne 98340c55ce Don't use goog.* functions in examples 2012-10-15 19:11:02 +02:00
Tom Payne d5002872dd Replace tabs with spaces 2012-10-04 15:12:50 +02:00
Tom Payne 9d253ab6bb Refactor exports and externs 2012-10-04 15:11:26 +02:00
Tom Payne 21f8c8f3bd Enable debugging in full screen example 2012-10-04 11:38:21 +02:00
Marc Jansen 07730d44d6 Replace tabs with spaces. 2012-10-04 08:34:29 +02:00
Frederic Junod 3df18d2df8 Use existing local coordinate var 2012-10-02 11:26:44 +02:00
Frederic Junod 8a5e7c77c9 Don't set map at each click 2012-10-02 11:25:58 +02:00
Tom Payne c6a9044bee Indent all HTML files with two spaces 2012-10-01 14:29:50 +02:00
Tom Payne d894275cf5 Add content type to examples 2012-10-01 14:28:45 +02:00
Frédéric Junod 6b0669c834 Fix path to ol.css 2012-10-01 11:05:37 +03:00
ahocevar 6267100871 Move customizations out of arrow_box CSS 2012-09-29 16:48:22 +02:00
Tom Payne 1a5375fa51 Move target container in to map options 2012-09-29 13:58:15 +02:00
Tom Payne 2341e8cd8f Add simple full screen example 2012-09-29 12:33:01 +02:00
Tom Payne ea95ca4918 Rename full screen example to overlay and popup 2012-09-29 12:33:01 +02:00
Tom Payne 71e42b2448 Refactor build system
This rather large commit refactors the build system to solve a number of
problems:
- Object literal types are now declared in just one place
- There are no more circular dependencies
- There is no need for concealed subclasses in build-standalone mode

When building in standalone mode, you need to include the source in
build/src/external.  This declares object literal types as externs so
that their properties are not renamed.

When building with the application, you need to include the source in
build/src/internal.  This declares object literal types as typedefs so
that their properties can be renamed and removed.

Note also that ol.MapOptions has been merged into ol.Map, with some
renaming.
2012-09-29 11:51:53 +02:00
ahocevar 2b53481932 Making Vienna's location more accurate 2012-09-29 09:54:34 +02:00
Tim Schaub 50bf2f015c Getting rid of lines between rotated tiles
Applying the scale3d trick just to get rid of small pixel gap between rotated tiles.  This will be reworked soon with additional use of transforms.
2012-09-29 01:33:50 +02:00
Tim Schaub bc5cd13855 Tiny bit of style 2012-09-29 01:17:46 +02:00
Tim Schaub c24e520961 Non-functioning example
When loading this example in compiled mode, the page displays the following:

    ol3 proj4js demo

    [object Object][object Object]

With `mode=RAW`, it does display some numbers, but I think we could better explain this functionality with a different sort of tutorial/example.
2012-09-29 01:12:40 +02:00
ahocevar dcc3fdde96 Fixing popup in example 2012-09-28 19:19:46 +02:00
ahocevar 163737d3de Adding popup to full-screen example 2012-09-28 16:47:55 +02:00
Tom Payne 1be9e97489 Add attribution control by default 2012-09-28 14:53:45 +02:00
ahocevar 82058412a1 Bringing label markup back
Also with a bit of css, we can make the label invisible before
it gets added as overlay to the map.
2012-09-28 14:44:36 +02:00
Éric Lemoine 9af392e217 Change loader.js usage example 2012-09-28 14:25:21 +02:00
Éric Lemoine 896f5203db Change examples directory names to "examples" 2012-09-28 14:01:51 +02:00
Tom Payne 6c0b719aef Remove OpenLayers 2, as discussed with @ahocevar, @elemoine and @tschaub 2012-08-30 15:00:23 +02:00
Bart van den Eijnden a7c202231f Merge branch '2.12' of github.com:openlayers/openlayers 2012-06-13 07:18:53 +02:00
Éric Lemoine 8208241e55 fix the kml-pointtrack.html example 2012-06-12 22:03:30 +02:00
Éric Lemoine 788d5a645a move the style.mobile.css file from examples to theme/default 2012-06-07 09:21:44 +02:00
ahocevar 8b2bab9d51 Improvements for Android: no buggy tile transitions, no flicker when tapping. 2012-06-02 22:18:49 +02:00
Marc Jansen 5794502f98 Replace tabs in example with spaces. No functional change. 2012-05-29 22:03:25 +02:00
Marc Jansen 366faf6871 Merge pull request #423 from marcjansen/no-$
Remove the aliasing of OpenLayers.Util.getElement to window.$
2012-05-29 12:52:27 -07:00
Marc Jansen acb9f950df Use document.getElementById in examples.
Previously examples would either use the now deprecated `window.$` or the
non-API-method `OpenLayers.Util.getElement`. This was well caught by @probins
and @elemoine.
2012-05-29 21:47:22 +02:00
Frederic Junod c696b34a84 Add new maximizeTitle and minimizeTitle options to Control.OverviewMap 2012-05-29 09:04:00 +02:00
ahocevar 88fd8038c8 Simplifying configuration. 2012-05-25 18:37:12 +02:00
ahocevar 440b9fb6d3 Using updated URLs. 2012-05-25 17:30:27 +02:00
Éric Lemoine 2141cb9c0a Merge branch '2.12' 2012-05-25 15:08:58 +02:00
ahocevar 5879a71f9c Don't use fade effect on labels. 2012-05-25 13:54:31 +02:00
Frederic Junod 05162a7f9d Use map.getLonLatFromPixel instead of map.getLonLatFromViewPortPx
The former is the API method.
2012-05-24 14:00:25 +02:00
Éric Lemoine 2cd979d34c use the nightly version of Google Maps API in the examples, and provide some information about Google Maps API versioning in the google-v3 example 2012-05-22 10:07:18 +02:00
tschaub a612302a11 Demonstrating the use of MapQuest tiles in OL. 2012-05-17 11:06:21 -06:00
ahocevar e2c9662fa1 Merge pull request #451 from ahocevar/more-title
There is no reason to restrict graphicTitle to externalGraphic symbols.
2012-05-15 07:46:33 -07:00
Frederic Junod 8268616ec8 Rename style.graphicTitle to style.title (the former is now deprecated) 2012-05-15 12:49:39 +02:00
Marc Jansen ea76d24f4c Merge pull request #450 from fbuchinger/patch-2
simplified jquery mobile example
2012-05-14 23:50:49 -07:00
Frederic Junod 6e34b048ff examples/cartodb-geojson.html: kill long lines, use local OpenLayers.js 2012-05-07 13:06:14 +02:00