Antoine Abt
a96c2da6c2
add PanZoom control if Zoom isn’t in build
2012-03-14 22:31:47 +01:00
Antoine Abt
b2727c88f2
make Zoom default instead of PanZoom
2012-03-14 20:25:07 +01:00
Frederic Junod
61f01f20e0
Remove Renderer.NG related code
2012-03-14 09:17:42 +01:00
fredj
23380e5d4a
Move NG renderer to deprecated.js
2012-03-14 09:17:42 +01:00
fredj
420a6f4dd2
Move SVG2 renderer to deprecated.js
2012-03-14 09:17:42 +01:00
Tim Schaub
a462be52a8
Removing unused bind var.
...
Thanks @jorix for catching this.
2012-03-13 23:08:28 -06:00
Antoine Abt
bed3edeb46
Merge pull request #281 from ejn/master
...
Improve iconOn/iconOff class name matching in Panel.js; add unit tests
2012-03-13 00:37:54 -07:00
ahocevar
6b5dba3f93
Merge pull request #301 from ahocevar/offline
...
Adding CacheRead and CacheWrite controls. r=@elemoine,@fredj
2012-03-12 08:29:00 -07:00
Éric Lemoine
c66371ebf8
Merge pull request #288 from mpriour/multiple-builds
...
Make the getScriptLocation function work with mobile & light builds
2012-03-12 07:19:42 -07:00
ahocevar
7693c2480d
Merge pull request #296 from ajkopinga/canvas-edge-hit2
...
added hit detection for symbol edges to canvas renderer with unit tests
2012-03-12 06:12:57 -07:00
Éric Lemoine
56e25fc9fe
Merge pull request #309 from bartvde/ie8doubleclick
...
prevent double click from firing click callback in IE
2012-03-12 02:37:38 -07:00
Bart van den Eijnden
1dba227db4
add comment as to why clearTimer is needed here, and change control flow back to what it was before breakage, i.e. do not call clearTimer if it does not pass the tolerance
2012-03-12 09:59:25 +01:00
Éric Lemoine
1ea71fd030
use two slashes in RegExp strings for escapement (see http://stackoverflow.com/questions/7735749/fix-jslint-bad-escapement-warning-in-regex )
2012-03-12 09:05:54 +01:00
Matt Priour
ef0da77e06
Merge branch 'master' into multiple-builds
2012-03-11 20:49:47 -05:00
ahocevar
bd262fce41
Addressing @elemoine's review comments.
...
Now the application no longer needs to care about the tile origin, because the CacheWrite control modifies the url if the CORS image loading is disabled and it is from a different origin. This only requires OpenLayers.ProxyHost to be properly configured. Also local storage keys use the original url instead of the proxied url, to make the CacheRead control work without proxy settings.
No deferred exceptions are thrown any more. Instead, OpenLayers.Console is used to show an error message for security exceptions.
We now check for OpenLayers.Tile.Image, because other tile types (e.g. UTFGrid) are not supported (yet).
To make the same origin handling in the CacheWrite control easier, OpenLayers.Request now exposes the same origin logic from request.issue as a separate function, so it can also be used by other components.
2012-03-11 22:15:34 +01:00
Volker Mische
c02f295836
The loadcancel event doesn't really exist
2012-03-11 17:26:06 +01:00
Éric Lemoine
7f94945244
Merge pull request #312 from elemoine/redraw
...
Vector.Redraw should set zoomChanged to true in moveTo
2012-03-10 00:55:31 -08:00
ahocevar
e52c97f741
Don't check based on layer.maxExtent.
...
layer.maxExtent is always set as soon as the layer is added to a map. Instead, making behavior consistent with tiled layers: don't display outside maxExtent except when displayOutsideMaxExtent is set to true or the layer's extent equals the world bounds for maps with a baseLayer that has wrapDateLine set to true.
2012-03-09 23:50:09 +01:00
Éric Lemoine
c693884f5f
redraw on vector layers should set zoomChanged to true in the moveTo call (refs #305 )
2012-03-09 23:40:34 +01:00
Matt Priour
0ff2f9a457
Simplify maxExtent restriction logic and prevent unneeded calls to `getLayerPxFromLonLat`
2012-03-09 14:26:48 -06:00
Matt Priour
f6c8b81f3a
Merge branch 'master' into singleTile
2012-03-09 14:04:21 -06:00
ahocevar
3d8a9168f0
Always set the tile url.
...
This avoids false positives in the url check in CacheWrite::cache when the CacheRead control is also active.
2012-03-09 19:07:54 +01:00
Tim Schaub
1a444589e0
Merge pull request #274 from tschaub/utfgrid
...
UTFGrid Tile, Layer, and Control. This adds support for responsive handling of interactions with large numbers of features represented by UTFGrids.
2012-03-09 08:49:30 -08:00
Bart van den Eijnden
f28c432b34
prevent double click from firing click callback in IE
2012-03-09 14:05:48 +01:00
Tim Schaub
021ad521a8
Tests for the getTileData method.
...
Tests pass on Chrome 17, Firefox 10, IE 8, and IE 6.
2012-03-08 19:18:32 -06:00
Matt Priour
3e50817623
Correct else code style error
2012-03-08 16:54:50 -06:00
Matt Priour
9fbd3072b7
Merge branch 'master' into singleTile
2012-03-08 16:36:41 -06:00
Matt Priour
9d0dd67843
Add tests for initSingleTile function, which is where all the important singleTile logic is
2012-03-08 16:26:46 -06:00
Emanuele Ziglioli
197c8053fa
Added extra dependencies: StyleMap.js and Layer/Vector.js. See:
...
https://github.com/openlayers/openlayers/pull/303#issuecomment-4401757
2012-03-09 09:51:24 +13:00
Emanuele Ziglioli
46191897cb
Added missing dependency
2012-03-09 08:54:51 +13:00
ahocevar
e366722375
Note about terms of service.
2012-03-08 18:37:45 +01:00
ahocevar
4434d195ea
Merge pull request #295 from probins/mapdocs
...
Improve docs for bounds/lonlat, Layer and Map
2012-03-08 09:11:30 -08:00
Bart van den Eijnden
5d9791133e
do not output graphic inside of textsymbolizer if graphic is set to false
2012-03-08 15:47:43 +01:00
ahocevar
f18ac9911b
Adding CacheRead and CacheWrite controls.
...
These controls read from and write to the browser's offline storage. Example with a seeding tool included.
2012-03-08 14:18:44 +01:00
Matt Priour
9fbadfa79f
Modify initSingleTile to respect map or layer maxExtent when set and layer is not the map's baseLayer
2012-03-08 00:31:05 -06:00
ahocevar
2f4ca63a39
Merge pull request #297 from ahocevar/tileloadstart
...
tileloadstart event and fixed crossorigin handling. r=@fredj
2012-03-07 01:30:36 -08:00
Marc Jansen
d122ebcf4e
Merge pull request #286 from marcjansen/imgpath
...
Declare ImgPath property of OpenLayers in OpenLayers.js (r=@elemoine,@ahocevar)
2012-03-06 23:02:25 -08:00
Tim Schaub
46054b8543
Correctly getting tile data for a location.
...
The UTFGrid layer's `getTileInfo` method was not correctly handling dateline wrapping (and was a bit more complicated than it needed to be). Since it would be useful to all grid layers to be able to retrieve a tile and pixel offset for any map location, this functionality deserves to be on the Grid layer.
The WMTS layer currently exposes a `getTileInfo` method that is used within the layer and by the WMTSGetFeatureInfo control. This method could be renamed to `getRemoteTileInfo` or something to differentiate it from a method that gets locally cached tile info. Until that change is made, the method on the Grid layer will be called `getGridData`.
2012-03-06 16:06:15 -07:00
ahocevar
81e7913075
Fixing crossorigin attribute handling.
2012-03-06 23:21:25 +01:00
Matt Priour
e45d37b386
Merge branch 'master' into multiple-builds
2012-03-06 14:21:14 -06:00
Marc Jansen
c9dbebf4aa
ImgPath should not be an an APIProperty in SingleFile.js.
2012-03-06 20:34:46 +01:00
ahocevar
a05eab29db
Adding tileloadstart event to layer.
...
For this to be useful (i.e. so listeners can see/modify the tile url), a change in Tile.Image is required so we do not fire the loadstart event before we have the url to load.
2012-03-06 14:40:08 +01:00
Arjen Kopinga
a836224a14
added hit detection for symbol edges to canvas renderer with unit tests
...
Added unit tests for hit detection on invisible canvas layer
simplified unit test for hit detection on invisible canvas
2012-03-06 14:12:53 +01:00
ahocevar
da3bbbe231
Merge pull request #293 from probins/defnav
...
Map: default controls should include TouchNavigation if present
2012-03-06 04:18:02 -08:00
Peter Robins
93028bbcf8
Map: defaults controls should include TouchNavigation if present
2012-03-06 11:47:27 +00:00
Peter Robins
e8af06e6ae
Improve docs for bounds/lonlat as array
2012-03-06 11:30:28 +00:00
Éric Lemoine
539e2fc4db
Merge pull request #241 from argson/master
...
Added translations for Polish language
2012-03-06 00:24:15 -08:00
Éric Lemoine
3b860ca4d7
Merge pull request #168 from jorix/Docs-issues3
...
Some problems in the documentation
2012-03-06 00:05:52 -08:00
Marc Jansen
e8744edd24
Minor formatting of API doc comments.
2012-03-06 08:39:00 +01:00
Marc Jansen
36886a2bc5
Better documentation for the property ImgPath of OpenLayers.
2012-03-06 08:33:39 +01:00