Tim Schaub
ec6c5eb74b
Merge pull request #43 from tschaub/undeprecated
...
Move deprecated methods from main lib. To use deprecated methods and classes in your application, add the deprecated.js script to your build profile.
2011-11-09 11:58:19 -08:00
tschaub
69ad1b7bbe
Add dependencies for deprecated.js.
...
To use deprecated methods, include the "deprecated.js" script in your build profile.
2011-11-09 12:56:05 -07:00
tschaub
caaf911081
Merge branch 'undeprecated' of https://github.com/ahocevar/openlayers into undeprecated
2011-11-09 12:24:53 -07:00
tschaub
b9cc3834d6
Merge branch 'master' of github.com:openlayers/openlayers into undeprecated
2011-11-09 12:24:42 -07:00
Tim Schaub
9605c08a11
Remove extra MapServer subclass.
2011-11-08 22:57:28 -07:00
Tim Schaub
7b6887c954
Remove extra WMS subclasses.
2011-11-08 22:45:13 -07:00
Tim Schaub
ab225e36b9
Remove extra tests.
2011-11-08 22:42:46 -07:00
Tim Schaub
5f2a6d410b
Deprecated XML.js method.
2011-11-08 22:07:29 -07:00
tschaub
b7c826e796
Remove MouseDefaults and MouseToolbar.
2011-11-08 18:32:55 -07:00
tschaub
f90d34fad9
Exclude deprecated methods from full build.
2011-11-08 17:10:31 -07:00
tschaub
20e19203d5
Deprecated methods from BaseTypes.js.
2011-11-08 16:48:58 -07:00
tschaub
dd5d7c9f07
Remove deprecated methods from Element.js.
2011-11-08 16:37:31 -07:00
tschaub
5db084afe8
Pull Ajax.js from the loader.
2011-11-08 16:37:01 -07:00
tschaub
e4d422e781
Deprecated Class.js methods.
2011-11-08 16:24:33 -07:00
tschaub
95e7de2ab4
Deprecated tests for Ajax.js.
2011-11-08 16:17:52 -07:00
tschaub
368ad02bdb
Deprecated methods from Ajax.js.
2011-11-08 16:11:43 -07:00
Tim Schaub
bce3aced23
Merge pull request #42 from tschaub/convenience
...
Adding extent, location, and projection convenience. Where appropriate, literals can be used instead of creating new OpenLayers objects.
2011-11-08 11:05:46 -08:00
tschaub
76bb0be254
Spell projection with p and separate tests to avoid mock issues.
2011-11-08 11:47:59 -07:00
tschaub
00410cf779
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-11-08 08:44:33 -07:00
tschaub
28cc0bd962
Fewer news.
2011-10-28 15:53:16 -06:00
tschaub
1209a31f5b
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-10-28 15:52:08 -06:00
tschaub
bea1a5b24a
Concise config. No init.
2011-10-28 15:51:36 -06:00
tschaub
e599881a8e
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-10-28 15:46:46 -06:00
tschaub
58cc225b9b
Syntax updates.
2011-10-28 15:45:56 -06:00
tschaub
423bb39f23
Making this example less outdated.
2011-10-28 15:41:53 -06:00
tschaub
eb6279c4d0
Removing oam layer (service not up).
2011-10-28 15:31:10 -06:00
tschaub
80219dc03c
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-10-28 15:23:41 -06:00
Tim Schaub
824160ecb0
Merge pull request #30 from fredj/unneeded
...
remove unneeded activate and deactivate functions
2011-10-27 12:09:20 -07:00
tschaub
a606e565d3
Allow transforming geometries, lonlat, and bounds with strings.
2011-10-26 16:23:48 -06:00
tschaub
98d6e74314
Allow testing for projection equality with string.
2011-10-26 16:22:51 -06:00
tschaub
fb790424a5
Allow array for min/maxExtent in layers.
2011-10-26 16:02:51 -06:00
tschaub
98ee7167c4
Allow use of array for bounds.
2011-10-26 15:40:40 -06:00
tschaub
75a1a8e119
Allow setting center from array.
2011-10-26 15:22:13 -06:00
tschaub
415c8f9e0c
Removing example as the service has been discontinued.
2011-10-25 17:31:25 -06:00
tschaub
3e163910f7
Tweak maxExtent docs to link to restrictedExtent.
2011-10-25 17:20:12 -06:00
Tim Schaub
8ea4c47a13
Merge pull request #23 from tmcw/max-extent-doc
...
Improve maxExtent documentation. Thanks @tmcw.
2011-10-25 16:17:28 -07:00
Tim Schaub
daa16c08b1
Merge pull request #20 from drnextgis/feature
...
Fix unterminated statements
2011-10-23 01:16:20 -07:00
Tim Schaub
5486caf1c2
Merge pull request #18 from drnextgis/feature
...
Delete last comma in object literal. Thanks @drnextgis.
2011-10-22 23:00:22 -07:00
Tim Schaub
f0f76cc8fd
Merge pull request #19 from drnextgis/feature2
...
Fix CSS errors. Thanks @drnextgis.
2011-10-22 22:57:03 -07:00
Tim Schaub
3e9015879c
Correcting typos in comments, no functional change ( closes #15 ).
2011-10-19 15:05:19 -06:00
Tim Schaub
6af8178452
Enforcing existing zoomToExtent behavior.
...
The Map.html and WrapDateLine.html tests that check zoomToExtent were failing with the changes to this method. These test changes make the expectations more explicit. It is inconsistent to call wrapDateLine only in zoomToExtent, but this is the minimum change to get the tests passing again. It would be more consistent to call wrapDateLine in the setCenter sequence.
2011-10-11 21:14:07 -06:00
Tim Schaub
ea8404c3bd
Fixing up the WFS tile (ack) tests.
2011-10-11 19:56:42 -06:00
tschaub
8a3498bd0f
Setup and teardown for WFS tile tests. Still need work.
2011-10-11 15:26:51 -06:00
tschaub
b4de402774
Properly set up and tear down for tests.
2011-10-11 15:22:50 -06:00
tschaub
d65fde60e2
Avoid test failures due to partial mocking.
...
Add setup and teardown methods to properly set up test context.
2011-10-11 15:11:03 -06:00
tschaub
cb74ede41b
Handle features without bounds.
...
Updates to tests to work with new wrap dateline code. Canvas renderer needs to handle geometries without bounds as well.
2011-10-11 14:48:10 -06:00
tschaub
c2bf717e5c
Merge branch 'master' of github.com:openlayers/openlayers into 3526
2011-10-11 09:42:49 -06:00
tschaub
fc5a0121e6
The getFeatureFromEvent method now throws (see #7 ).
2011-10-11 09:36:43 -06:00
tschaub
c6e66a3c5c
The getFeatureFromEvent now throws.
...
An error is thrown if getFeatureFromEvent is called on a destroyed layer (see #7 ).
2011-10-11 09:34:38 -06:00
Tim Schaub
4ad80fc6c0
Merge pull request #9 from tschaub/date
...
Making date parsing a bit more lenient (r=ahocevar closes #3542 ).
2011-10-07 08:29:13 -07:00
Tim Schaub
6eebcc5be0
Making date parsing a bit more lenient.
...
RFC 3339 doesn't say what timezone to assume for date strings without time. Some servers append "Z" to dates (e.g. "2001-02-03Z") and some clients accept this (e.g. Chrome). The OpenLayers date parser now accepts dates without times and with "Z" at the end.
2011-10-07 10:50:56 -04:00
tschaub
38e59965f1
Quicker route to contains when wrapping.
...
Instead of moving one world at a time and testing for containment, we can jump immediately by the number of worlds we are away from the bounds.
2011-09-30 16:53:33 -06:00
tschaub
b82a24ef36
Determine how many worlds away we are instead of simply wrapping.
2011-09-30 13:22:29 -06:00
tschaub
fe08a843ee
Don't cache newRight or newLeft while changing bounds.
2011-09-30 13:20:15 -06:00
tschaub
d8c269c891
Update example to use canvas renderer and start with some features.
2011-09-29 19:51:54 -06:00
tschaub
9ab440e615
Calculate x-offset for features outside the world bounds.
2011-09-29 19:51:20 -06:00
tschaub
f5f93ac947
Don't render if feature doesn't intersect renderer extent in a warped sense.
2011-09-29 19:50:11 -06:00
tschaub
2549935a8a
Only hide features if they don't intersect in a wrapped sense.
2011-09-29 19:48:20 -06:00
tschaub
cc81657907
Always left justify the renderer extent.
2011-09-29 19:46:53 -06:00
tschaub
5925cb12d7
Only shift extents that cross once.
2011-09-29 19:46:00 -06:00
tschaub
d291b970a4
Merge branch '3526' of https://github.com/ahocevar/openlayers into 3526
2011-09-29 18:06:38 -06:00
tschaub
cb4c9baeb0
Merge branch '3526' of https://github.com/ahocevar/openlayers into 3526
2011-09-29 17:52:17 -06:00
Tim Schaub
4c4692a6bd
Merge pull request #3 from tschaub/3532
...
Passing renderer options to the sketch layer (r=ahocevar, closes #3532 ).
2011-09-29 16:33:00 -07:00
tschaub
c743d3e8a5
Passing renderer options to the sketch layer.
...
The draw feature control should pass preferred render and other renderer options to the sketch handler.
2011-09-29 17:26:23 -06:00
tschaub
275b310bda
Coordinates that are easier to visualize.
2011-09-29 16:08:38 -06:00
tschaub
516914c935
Push dateline wrapping to intersectsBounds method.
...
It should simplify things by pushing the dateline wrapping stuff into the intersectsBounds method.
2011-09-29 12:21:05 -06:00
Tim Schaub
b08b956894
Enabling kinetic dragging on the mobile draw example.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-15 15:40:50 +00:00
Tim Schaub
663392b10e
Despite our best efforts to comply, we have been told that this layer violates the Google Maps Terms of Service. Without rendering their full map interface, they have no way of controlling the user experience, dropping in ads, and the like. ( closes #3481 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12317 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-01 19:07:37 +00:00
Tim Schaub
74af61d898
Updating the date tests to work against Firefox 6 (and any other implementations that throw RangeError). closes #3461
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12254 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 02:29:09 +00:00
Tim Schaub
c517de52f5
Making freehand drawing work on touch devices. Thanks jorix for the excellent patch. r=me ( closes #3456 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 02:13:06 +00:00
Tim Schaub
98eabd4d89
Adding missing requires (see #3467 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12252 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 01:07:59 +00:00
Tim Schaub
541b3dc7ae
Changing the named callback to avoid having the returned script call a function. This allows the protocol to be used with servers that sanitize callback identifiers for security. Great patch from vmische. r=me (closes 3417).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12250 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-15 18:27:55 +00:00
Tim Schaub
4b2f6ea105
Adding 'active' as an API property.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12169 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-14 18:36:48 +00:00
Tim Schaub
c0326c66bd
Example demonstrating scale dependent labeling.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12167 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-12 16:48:39 +00:00
Tim Schaub
c48f2d1ca3
WFS protocol example.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12140 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:55:56 +00:00
Tim Schaub
652fb3930e
Consistent naming in doc menus.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:44:44 +00:00
Tim Schaub
3485c43844
I don't think the addTile method was intentionally set as an API method. Please revert if this was intentional.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:40:18 +00:00
Tim Schaub
5b19e3a00d
Doc menu wrangling. Version upgrade for NaturalDocs.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12137 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:34:00 +00:00
Tim Schaub
b327ede5c6
Correct formatting issues with map example (doc change).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:31:41 +00:00
Tim Schaub
e8fa5bd719
Playing along with the class game (for docs' sake).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12135 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:22:39 +00:00
Tim Schaub
366fd75d97
Syntax highlighting with (code)blocks(end).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:18:00 +00:00
Tim Schaub
bf42fd5f90
Redundant namespaces (doc change).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12133 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-30 05:15:02 +00:00
Tim Schaub
ffbb3a942a
Clarifying that it is the bottom-left corner of the map.maxExtent property that determines the tileOrigin if not explicitly provided.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12132 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-29 23:30:24 +00:00
Tim Schaub
46899f8ba3
Updating the TMS API docs.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12131 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-29 22:56:58 +00:00
Tim Schaub
0b26fa9a5e
Making it so dictionary keys are the English values for strings displayed in the UI.
...
By making dictionary keys be sensible strings, we make it so the i18n function returns something legible when there are no dictionaries included in a build. This means that strings from the Graticule, Permalink, LayerSwitcher, and Scale controls will be displayed in English without having to include the English dictionary (as is the case in our full build).
Note that if you use the OpenLayers.i18n method in your applications, five of the dictionary keys have changed. Use the following replacements:
* "permalink" -> "Permalink"
* "overlays" -> "Overlays"
* "baseLayer" -> "Base Layer"
* "scale" -> "Scale = 1 : ${scaleDenom}"
* "graticule" -> "Graticule"
r=ahocevar (closes #3364 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-24 20:12:12 +00:00
Tim Schaub
1951eb3815
Clarifying that the TouchNavigation control can be used without a standard Navigation control ( closes #3350 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12122 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-22 06:30:45 +00:00
Tim Schaub
1fb626bc8d
The bounds.scale method should be part of the API.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12119 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-21 16:50:50 +00:00
Tim Schaub
1ccf325285
Fix example to work where there is a metaKey but ctrl is used for undo/redo.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12104 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 21:10:15 +00:00
Tim Schaub
2cf3f62d1b
Methods for programmatically manipulating sketches while digitizing features. r=bartvde ( closes #3343 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12103 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 18:59:16 +00:00
Tim Schaub
abdb336354
Adding layer for generating dynamic point grids. r=bartvde ( closes #3344 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12099 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 18:18:40 +00:00
Tim Schaub
6e3879f5b6
Enhance WKT parser to parse multi-line strings. r=erilem ( closes #3365 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12098 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 17:12:01 +00:00
Tim Schaub
fe4da360ce
Demonstrate that instanceof doesn't work for arrays created in another frame.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12097 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-17 13:16:53 +00:00
Tim Schaub
995d612caa
More robust array type check. p=mwootendev, r=me ( closes #2959 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12095 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-16 19:16:25 +00:00
Tim Schaub
54cccc0783
Proxy chasing.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12088 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-15 21:15:59 +00:00
Tim Schaub
a5f0b300f8
Adding example demonstrating the use of a spatial filter with the WFS protocol.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12087 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-15 20:55:08 +00:00
Tim Schaub
f9c0a1d302
Requires fix.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12079 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-10 16:32:58 +00:00
Tim Schaub
9ae8eff1fc
Requires fix.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12078 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-10 16:32:45 +00:00
Tim Schaub
7df5e92355
Correcting docs for TMS tileOrigin.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12039 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-03 21:46:44 +00:00
Tim Schaub
b6b11f560a
Switching to the 2-clause BSD license - aka the FreeBSD license.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11971 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-17 15:29:44 +00:00
Tim Schaub
a852fc5153
The 'new OpenLayers.Map()' syntax used in this exmaple doesn't work. Correcting that, it is still unclear if the example works. I'm removing it to avoid confusion by others.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11908 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-21 23:04:39 +00:00