Commit Graph

  • 97db05e482 Fix error when no closure compiler is around. crschmidt 2011-02-25 13:41:40 +00:00
  • b6cc99be8f Adding a distanceTo for pixels. p=bbinet, r=me (closes #3119) Tim Schaub 2011-02-25 13:34:59 +00:00
  • 09c21c6b86 adding closure-compiler.jar to svn:ignore Frédéric Junod 2011-02-25 12:14:35 +00:00
  • 99f0376c8f Enhancing the sencha touch example, p=mjansen,bartvde,fredj,pgiraud, (Closes #3101) pgiraud 2011-02-25 12:12:20 +00:00
  • 4a4d9b29cd the grid layer needs to clear its tile loading timeout when it's removed from the map, or moveGriddedTiles can be called with this.map set to null, r=crschmidt (closes #3110) Éric Lemoine 2011-02-25 12:02:29 +00:00
  • 339d1ebaef Default the buffer to 0 instead of 2. On small maps (or fullscreen maps on small devices) this is a huge win: instead of downloading *42 tiles* on a 500x500 div, we now download just 12, a 3.5x savings in downloads by default. The buffer of 2 was originally chosen when most maps were based on slow-loading WMS laeyrs and having an area to pan into was more important. That default no longer makes sense. crschmidt 2011-02-25 11:50:30 +00:00
  • f7fcb86ee9 Making it so moveTo is only called once when creating a map with center and layers options. r=crschmidt (closes #3114) Tim Schaub 2011-02-25 11:47:41 +00:00
  • 269749ec23 Automatically grab and unpack the closure compiler when building releases. crschmidt 2011-02-25 10:28:52 +00:00
  • be040c6614 Using CSS tidy to compress stylesheets on the dev site always, and to include tidy-ified stylesheets in the released builds. crschmidt 2011-02-25 10:23:42 +00:00
  • 3f47ab809c Remove unused google.css. Tim Schaub 2011-02-25 10:02:20 +00:00
  • a2d1623b80 pngcrush pngs to save another 1k for people who are using the PanZoom + LayerSwitcher controls (and more for people who are also using other controls). crschmidt 2011-02-25 09:33:19 +00:00
  • 03cdbd8a02 pngcrush theme images. On the most common images (editing tooolbar, pan-panel), this saves us an additional 3k of bits to transfer. crschmidt 2011-02-25 09:28:33 +00:00
  • 7d195697b6 Adding example demonstrating device orientation and accelerometer use. Nice example from cmoullet (closes #3083). Tim Schaub 2011-02-25 08:59:04 +00:00
  • 93da80b0c4 deactivate the Geolocate control on destroy. r=bartvde,elemoine (closes #1185) Frédéric Junod 2011-02-25 08:52:28 +00:00
  • 9d6d6bdd27 Adding profile for mobile builds (see #3069). Tim Schaub 2011-02-25 08:48:33 +00:00
  • 479d2c28b6 This patch causes the zoomBox to become visible again, after the changes to add an eventsDiv, and fixes the OverviewMap to work again. r=bartvde, (Closes #3104) crschmidt 2011-02-25 08:30:50 +00:00
  • 4be8f72afe Extending Map.js documentation to include comment regarding destroy from #2277. crschmidt 2011-02-25 07:25:03 +00:00
  • b22963a2ef Wrap path in abspath crschmidt 2011-02-24 23:59:51 +00:00
  • 876e0dfd81 Fix build script on python before 2.6, and update_dev_dir now compiles with closure instead of jsmin. crschmidt 2011-02-24 23:48:24 +00:00
  • d06c66edab Adding support for closure compiler and some documentation in the README about how to use it. crschmidt 2011-02-24 23:19:53 +00:00
  • 8d2bbfe28f Add support for the closure compiler webservice, using simple optimizations. Using this build mode, on a lite build, we save approximately 15% after gzip. However, this build method can not be used on full builds, as they exceed the 1000kb limit on the closure compiler webservice. crschmidt 2011-02-24 22:39:40 +00:00
  • 07e34672b5 OpenLayers.Util.getFormattedLonLat does not deal correctly with 60 seconds and 60 minutes, p=mattnott,jorix, r=me,marcjansen (closes #2852) bartvde 2011-02-24 11:24:50 +00:00
  • 680923319c Adding a pinch handler for multi-touch devices. Great patch from Bruno. p=bbinet, r=me (closes #3077) Tim Schaub 2011-02-24 10:05:49 +00:00
  • 8da53d8fbd Better mocking of the function calls on handlers so that handlers which expect an evt object don't get errors when activating. crschmidt 2011-02-24 09:37:47 +00:00
  • 6b54f9e80a Add an option to build.py to specify a compressor or 'none' for uncompressed. crschmidt 2011-02-24 09:08:00 +00:00
  • 30aeab365a make it possible to pan the map while drawing geometries, r=tschaub (closes #3052) Éric Lemoine 2011-02-24 09:00:49 +00:00
  • f8db509725 Test that getLonLatFromPixel and getPixelFromLonLat are inverses of each other (within a reasonable tolerance) crschmidt 2011-02-23 22:24:35 +00:00
  • fa32a4a645 Arrange elements so we can get mouse events on controls while preventing the default (scroll) behavior on touch devices. r=elemoine (closes #3091) Tim Schaub 2011-02-23 17:59:37 +00:00
  • 0961132ab6 Opening popup windows with the same query string from the parent. This allows mode=build for tests in popups. Tim Schaub 2011-02-23 15:54:26 +00:00
  • 5c400dac4f add some fancy move to geolocation accuracy. p=aabt, r=me (closes #1885) Frédéric Junod 2011-02-23 14:08:32 +00:00
  • 8284c81b3b We register for mousemove, we generate mousemove, and IE gives us event.type 'load'. This is likely the window event property. Tim Schaub 2011-02-23 13:48:49 +00:00
  • 61452e2821 Adding getCurrentLocation API method so that application can get the location anytime, p=aabt, r=elemoine, (Closes #3090) pgiraud 2011-02-23 13:33:14 +00:00
  • f55291bd34 Updating the EventPane tests so we always run the same number of tests (except Firefox) and report better failures. Tim Schaub 2011-02-23 13:21:47 +00:00
  • 9ce641bd75 better API doc strings in the Kinetic class, no functional change Éric Lemoine 2011-02-23 12:13:53 +00:00
  • e1b9b2b89d change <title> of the mobile-navigation example, no functional change Éric Lemoine 2011-02-23 11:40:36 +00:00
  • 8ef02b39ef Adding detail to the messages for easier failure detection. Tim Schaub 2011-02-23 10:28:27 +00:00
  • 9ebdb1e4f7 No floats above map containers without position or clear. Tim Schaub 2011-02-23 10:14:53 +00:00
  • 257b96b309 Only invoke the landscape rules if the max width is fewer than 600 px (thanks aabt). Tim Schaub 2011-02-23 10:04:55 +00:00
  • 75538b6f42 Getting consistent datestring parsing in Chrome and Firefox. r=crschmidt (closes #2994) Tim Schaub 2011-02-23 09:32:36 +00:00
  • abb2bb509d The Android browser doesn't allow scrolling in a div, this is a problem for our unit test page. With this patch, we disable scrolling in our test page's divs if noscroll is set in the query string. No functional change. p=aabt (closes #3085) Éric Lemoine 2011-02-23 09:23:36 +00:00
  • b469555a79 better display in our examples when orientation is landscape, and enable text size adjust in webkit; no functional change, p=aabt, r=me (closes #3067) Éric Lemoine 2011-02-23 09:14:26 +00:00
  • 6e83eb0018 set the language code in tests, tests expects English messages (closes #3084) Frédéric Junod 2011-02-23 09:06:20 +00:00
  • c55323cf3a More descriptive titles. Tim Schaub 2011-02-22 22:38:31 +00:00
  • 7fe4329afe Linking to example source code. Setting watch checkbox to match initial control state. Tim Schaub 2011-02-22 22:00:59 +00:00
  • 8d15d94494 better descriptions for the mobile-navigation example, no functional change Éric Lemoine 2011-02-22 21:25:35 +00:00
  • d21b7b081f Taking advantage of the nice media query styles. Separating code from markup. Tim Schaub 2011-02-22 21:21:31 +00:00
  • 406bca8d70 Adding title and description to mobile examples. Tim Schaub 2011-02-22 20:56:27 +00:00
  • 1619f0801b Working with json if available. Fall back to simplejson. Tim Schaub 2011-02-22 20:55:36 +00:00
  • 50c292f176 add a Geolocate control, p=cmoullet,aabt, r=me (closes #1885) Éric Lemoine 2011-02-22 16:48:05 +00:00
  • 8965a61c75 Making it so the click handler works even if other listeners stop propagation on touchstart. r=elemoine (closes #3089) Tim Schaub 2011-02-22 15:28:31 +00:00
  • 629720b2d1 Fewer pink tiles. Tim Schaub 2011-02-22 15:08:17 +00:00
  • d34a9ee035 add tags in browser.html examples (closes #3088) Frédéric Junod 2011-02-22 14:54:01 +00:00
  • dda9139347 add tags to our mobile examples, no functional change Éric Lemoine 2011-02-22 14:39:49 +00:00
  • 418dd126fa two-finger tap zoomout should work on iPhone, non-functional change (closes #3087) bartvde 2011-02-22 14:39:39 +00:00
  • f299a41340 say hi to the new examples index, which works on mobile devices as well, thanks to our web designer pair, Marc and Antoine Éric Lemoine 2011-02-22 14:22:00 +00:00
  • b7babb5edf add a ZoomPanel to the mobile example, no functional change Éric Lemoine 2011-02-22 14:11:57 +00:00
  • 2f42aeb440 mobile example - set interval to 0 in the drag handler, no functional change Éric Lemoine 2011-02-22 14:11:49 +00:00
  • 9e2eef5f47 bigger zoomin/out buttons in the mobile-navigation example, no functional change Éric Lemoine 2011-02-22 13:45:26 +00:00
  • b378d28e41 move the examples images in an "img" directory, no functional change Éric Lemoine 2011-02-22 13:06:35 +00:00
  • ab309197e2 mobile-navigation example - place the JS code in a separate file, no functional change Éric Lemoine 2011-02-22 12:08:30 +00:00
  • 36f5232dd6 PanZoomBar doesn't handle forceFixedZoomLevel correct, p=patzi,marcjansen r=me (closes #2725) bartvde 2011-02-22 12:06:12 +00:00
  • 892d9d7768 fix up JS error in PanZoomBar testcase in IE, non-functional change bartvde 2011-02-22 12:03:55 +00:00
  • 500d351013 test that we set clientX and clientY in the event, test-only patch Éric Lemoine 2011-02-22 11:44:36 +00:00
  • 98a6c1754d fix up issue with Sencha Touch example not handling double tap to zoom in, r=elemoine (closes #3079) bartvde 2011-02-22 11:21:20 +00:00
  • f67bcaa033 add a touch events related test for the drag handler, no functional change Éric Lemoine 2011-02-22 11:10:35 +00:00
  • 6b5ac685b1 use the touch navigation control in the mobile examples, no functional change Éric Lemoine 2011-02-22 10:36:38 +00:00
  • 2a59831290 enable kinetic for the mobile-navigation example, no functional change Éric Lemoine 2011-02-22 10:33:33 +00:00
  • cd10d36025 add copyright header, no functional change Frédéric Junod 2011-02-22 10:15:38 +00:00
  • 332208539d remove trailing whitespaces, no functional change Éric Lemoine 2011-02-22 10:00:42 +00:00
  • 103e620dff kinetic/momemtum dragging support, p=camptocamp, r=me (closes #2999) Éric Lemoine 2011-02-22 09:59:21 +00:00
  • 83f9422296 Adding a test page to show mobile browser events; this is useful for when a new device is available to understand what events are supported by a given browser. crschmidt 2011-02-22 09:49:37 +00:00
  • bc81882a8e removing unused _bounds member variable. non-functinal change. ahocevar 2011-02-22 09:06:50 +00:00
  • c852abad61 let's have a basic mobile-navigation example focusing on navigation-related functionality for mobile, no functional change Éric Lemoine 2011-02-22 08:54:42 +00:00
  • c9fe40cc3c add a touch device-specific navigation control, p=bbinet, r=me (closes #3068) Éric Lemoine 2011-02-21 17:38:11 +00:00
  • 849426f845 Making it so controls that register for mousedown and mouseup work in touch environments. r=crschmidt (closes #3075) Tim Schaub 2011-02-21 17:31:19 +00:00
  • 3066b50956 Removing the ie-killer trailing comma to make the mobile.html example work for crschmidt (and debunking the myth that you can't render a map with a script in the body). Tim Schaub 2011-02-21 16:12:55 +00:00
  • 7a8f3917c9 make click handler work with touch events (closes #2996) Éric Lemoine 2011-02-21 16:04:34 +00:00
  • 2908fa79e5 Putting the loader code into an self-executed function so that we don't have problems with global scope variables, Closes #3076 pgiraud 2011-02-21 15:39:14 +00:00
  • 07160f5385 make drag handler work with touch events, p=lotsofpeople, r=tschaub (closes #2995) Éric Lemoine 2011-02-21 15:07:55 +00:00
  • 7a1cb00fe4 Add missing semicolon. Non functional change. Frédéric Junod 2011-02-21 14:55:01 +00:00
  • 2fd0eff3c1 The OpenLayersXXXX.html tests shouldn't use the built file pgiraud 2011-02-21 13:02:11 +00:00
  • fa15785c96 Updating the update_dev_dir script to use the tests.cfg profile. This brings in lang and console utilities. Tim Schaub 2011-02-21 12:01:39 +00:00
  • 17eaecc4e5 Excuse the bad commit message on r1172. This change and that one add a reusable empty function. r=ahocevar (closes #3073) Tim Schaub 2011-02-21 12:01:17 +00:00
  • 174bd431f4 Updating the update_dev_dir script to use the tests.cfg profile. This brings in lang and console utilities. Tim Schaub 2011-02-21 11:54:15 +00:00
  • 7e18475a0b add support for anchor-based permalink, p=sbrunner, r=me (closes #2785) Éric Lemoine 2011-02-21 11:53:08 +00:00
  • 3fce968f2a use OpenLayers.Util.getImagesLocation() from default marker location Frédéric Junod 2011-02-21 11:51:21 +00:00
  • dbf886dad0 Adds a specific config for the build to be used for the unit tests (python build.py tests.cfg). This build is similar to the full one but with Firebug and Lang, r=fredj pgiraud 2011-02-21 11:35:38 +00:00
  • 941ebc78ce Now we rely on relative paths + minor changes pgiraud 2011-02-21 11:32:37 +00:00
  • 788b05c32f check SVN revision online rather than via 'svn up' and put svn up inside the revision check loop. crschmidt 2011-02-21 10:33:59 +00:00
  • f84f696e31 Adds the possibility to use a built version of OpenLayers for the tests, users simply have to add '?mode=build' in the run-tests.html url pgiraud 2011-02-21 10:10:25 +00:00
  • 08acb65e0e deferred tile loading, i.e. the Google Maps way, p=pgiraud,ahocevar,me, r=ahocevar,me (closes #2998) Éric Lemoine 2011-02-21 09:45:22 +00:00
  • 7f34868fe2 use mobile-specific metas in our examples, and add a media query to remove padding and set map width to page width on small scth on small-screen devices, r=aabt (closes #3067) Éric Lemoine 2011-02-21 06:48:33 +00:00
  • d33477d65f A framework-less example that will soon work. Tim Schaub 2011-02-20 17:31:46 +00:00
  • 39e9728696 add missing test file for #2947, no functional test Éric Lemoine 2011-02-20 15:25:24 +00:00
  • a736a44955 Reverting before update to avoid conflicts when examples are removed. Tim Schaub 2011-02-20 15:24:08 +00:00
  • 5e091d46d8 Use OpenLayers.Console.log. Make gg and sm globally available so we can transform position. Tim Schaub 2011-02-20 15:06:53 +00:00
  • b30d35c615 making ModifyFeature control in standalone mode trigger the beforefeaturemodified event. r=bartvde (closes #3009 ahocevar 2011-02-18 15:25:41 +00:00
  • d6695cff67 fixing error when closing page in IE. Thanks bartvde for the testcase. r=bartvde (closes #3003) ahocevar 2011-02-18 15:22:12 +00:00
  • 28e5614e98 Avoid tests crashs because of delay problems. Adding more control so that conditions fail without crashing. r=bartvde (Closes #2997) pgiraud 2011-02-18 13:20:07 +00:00
  • 994c156878 remove tabs, non-functional change Frédéric Junod 2011-02-18 08:01:59 +00:00