Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to overlay the osm with the wms layer of geoserver #1

Open
wants to merge 168 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
af6cd52
Updating Schuyler's git info.
tschaub Jul 1, 2010
c7d1366
Syntax changes.
tschaub Jul 1, 2010
5dbe889
remove deprecated Class syntax
Jul 1, 2010
e8129cf
remove deprecated OpenLayers.Layer.MapServer.Untiled
fredj Jul 1, 2010
c636038
remove tabs and trailing whitespace. Non functional change
fredj Jul 1, 2010
9ed982e
fix token syntax in lang files. Non functional change
fredj Jul 1, 2010
103558a
remove deprecated Class syntax
Jul 1, 2010
65fd85d
remove deprecated OpenLayers.Layer.MapServer.Untiled
fredj Jul 1, 2010
8c87c15
don't use the deprecated bind function
fredj Jul 1, 2010
a62b789
Updating Schuyler's git info.
tschaub Jul 1, 2010
6a87bed
replace the deprecated OpenLayers.Util.getArgs with OpenLayers.Util.g…
fredj Jul 1, 2010
4de5ce3
change the SLDSelect control's default Polygon symbolizer to produce …
ahocevar Jul 1, 2010
f7fd6c5
Updating Pierre's contact info.
tschaub Jul 1, 2010
dd153f2
Updating Bart's contact info.
tschaub Jul 1, 2010
5cf64f6
Updating Pierre's contact info.
tschaub Jul 1, 2010
ae195e5
fix token syntax in lang files. Non functional change
fredj Jul 1, 2010
f0aa59e
remove deprecated OpenLayers.Util.clearArray
fredj Jul 1, 2010
9751370
remove doc ref to Untiled layers
fredj Jul 1, 2010
36fa28d
add .gitignore
fredj Jul 1, 2010
16279bc
remove deprecated OpenLayers.Util.safeStopPropagation
fredj Jul 1, 2010
1c5b615
remove deprecated OpenLayers.Util.setOpacity
fredj Jul 1, 2010
8dcd835
don't use the deprecated bind function
fredj Jul 1, 2010
7b43c96
remove deprecated OpenLayers.Map.theme option
fredj Jul 1, 2010
542af61
remove deprecated OpenLayers.Util.getArgs
fredj Jul 1, 2010
7f56c34
Clarify readme.
tschaub Jul 1, 2010
7f91225
Updating Paul's contact info.
tschaub Jul 1, 2010
5862adb
Merge branch '2.x'
tschaub Jul 1, 2010
a576243
Adding an authors file with syntax specific to git-svn. This file mu…
tschaub Jun 30, 2010
904b0cf
Updating Schuyler's git info.
tschaub Jul 1, 2010
dc0623c
Updating Pierre's contact info.
tschaub Jul 1, 2010
fa54bd7
Updating Bart's contact info.
tschaub Jul 1, 2010
13e46f2
Updating Paul's contact info.
tschaub Jul 1, 2010
f210b08
Merge branch '2.x' of github.com:openlayers/openlayers into 2.x
tschaub Jul 1, 2010
cb7768c
Merge branch '2.x'
tschaub Jul 1, 2010
96b8140
Updating dev readme. No reason to replay git commits on top of svn c…
tschaub Jul 1, 2010
0f52d9a
Making it more convenient to create WMTS layers from capabilities doc…
tschaub Jul 2, 2010
c3867b2
Merge remote branch 'git-svn' into 2.x
tschaub Jul 2, 2010
5b98450
Merge branch '2.x'
tschaub Jul 2, 2010
c6b51c6
Adding more docs on merging changes from svn.
tschaub Jul 2, 2010
9439f0e
More docs for developers.
tschaub Jul 2, 2010
89ef611
Adding link to forking doc.
tschaub Jul 2, 2010
c0f08de
remove deprecated Map events
fredj Jul 3, 2010
62f871d
remove global and unused variable. Non functional change
fredj Jul 3, 2010
686c499
Revert "remove deprecated Map events"
crschmidt Jul 4, 2010
6606adc
Remove untiled WMS layer.
crschmidt Jul 4, 2010
e496d69
(I fail at git.)
crschmidt Jul 4, 2010
51b61a7
Merge branch 'master' of git://github.com/cedricmoullet/openlayers
crschmidt Jul 4, 2010
b3050ea
remove unused variable and unreachable code, replace tab with space. …
fredj Jul 4, 2010
40a752e
remove deprecated OpenLayers.Control.MouseToolbar
fredj Jul 1, 2010
a915aff
remove deprecated OpenLayers.Element.getDimensions
fredj Jul 2, 2010
e918cef
remove deprecated OpenLayers.Layer.WFS
fredj Jul 2, 2010
044c22d
remove deprecated OpenLayers.Layer.getGridBounds function
fredj Jul 2, 2010
d2c7bf9
remove the deprecated '$' function
fredj Jul 1, 2010
afe200e
remove deprecated OpenLayers.Control.MouseDefaults
fredj Jul 1, 2010
5e03f44
remove deprecated OpenLayers.Layer.WMS.Untiled
fredj Jul 1, 2010
3513793
remove Layer/WFS.html tests refs
fredj Jul 4, 2010
99f365f
use OpenLayers.String.contains
fredj Jul 4, 2010
5c5650b
correct couple of small errors
probins Jul 5, 2010
c08adef
update documentation link. Non functional change
fredj Jul 6, 2010
82466a8
add missing semicolon.
fredj Jul 6, 2010
31c597b
Merge remote branch 'git-svn' into 2.x
tschaub Jul 6, 2010
0ccde3b
Merge branch '2.x'
tschaub Jul 6, 2010
5fec1d5
A much better way of updating the remote git-svn rev. Thanks to were…
tschaub Jul 6, 2010
73c0c76
Updating my author info.
tschaub Jul 7, 2010
7d2483d
Merge branch '2.x'
tschaub Jul 7, 2010
53b1e79
fix wrong comment in Cluster Strategy non-functional change
bartvde Jul 8, 2010
425ea79
typo in previous commit
bartvde Jul 8, 2010
2cc9921
fix comment error in containsBounds non-functional change
bartvde Jul 8, 2010
56f2e3f
remove wrong svn:mime-type. Non functional change
fredj Jul 8, 2010
217e93f
add missing semicolon.
fredj Jul 8, 2010
27474e0
remove tabs, remove unused variable
fredj Jul 8, 2010
9db6ecf
Correctly selecting url when an array is provided. Thanks cmoullet f…
tschaub Jul 8, 2010
4c9cc84
replace tabs with spaces
fredj Jul 9, 2010
9d238f6
coding style: add braces around test, use {} instead of new Array(), …
fredj Jul 9, 2010
5cce9fc
add support for GMaps v3. Thanks tschaub for the big improvements to …
ahocevar Jul 9, 2010
d6fdba3
use dot syntax (better closure compiler optimization)
fredj Jul 9, 2010
caeff4d
Removing stuff that was added twice in r10474 (see #2493).
tschaub Jul 9, 2010
023a79c
In practice, this allOverlays example displays the terms of service e…
tschaub Jul 9, 2010
7918da6
As with r10477, this change simplifies the setGMapVisibility tests to…
tschaub Jul 9, 2010
efe756e
Moving the OpenLayers.Layer.Google.v2 definition into Google.js so we…
tschaub Jul 9, 2010
27246fb
Making it so the Google layer is not visible if used as an overlay wi…
tschaub Jul 9, 2010
f1c4a9f
add missing semicolon, remove global and unused variables, remove unr…
fredj Jul 12, 2010
6799ba7
Making the Google v3 layer work with deferred map rendering. r=ahocev…
tschaub Jul 12, 2010
9abe701
Added a note about incompatibility with UI controls provided by the G…
ahocevar Jul 13, 2010
3a03443
add support for the ol:tileSize layer property in WMC, p=fvanderbiest…
Jul 15, 2010
d2bedb9
Merge branch '2.x'
Jul 19, 2010
dfbd7bb
Add updating sandbox to script
crschmidt Jul 20, 2010
09820c5
Improved clone method for Layer.XYZ; gave Layer.OSM its own clone met…
ahocevar Jul 21, 2010
cf9580c
Implemented activate, deactivate and destroy methods; use autoActivat…
ahocevar Jul 23, 2010
81b0cf5
The sandbox is now updated here as well, so check the most recent
crschmidt Jul 27, 2010
5c26028
Google layer improvements for maps with allOverlays set to true. r=ts…
ahocevar Jul 29, 2010
dd50c4e
Respect setVisibity(false) before layer is fully loaded. r=tschaub (c…
ahocevar Jul 29, 2010
0387ff9
New api key and overlay for multimap example.
ahocevar Jul 29, 2010
54a706c
Making it so layers that use the SphericalMercator mixin call getLonL…
tschaub Jul 29, 2010
da0e27d
Adding point, line, polygon, text, and raster symbolizer constructors…
tschaub Aug 2, 2010
9ecd47f
Documenting that OSM extends XYZ and XYZ extends Grid. The buffer pr…
tschaub Aug 2, 2010
7f9f84b
make yx property an object rather than an array. r=elemoine,bartvde (…
ahocevar Aug 3, 2010
2f7cde0
Fixes for the WMTS layer to properly update matrix related properties…
tschaub Aug 3, 2010
6c4517a
Firing the beforefeaturesremoved event from the vector layer. r=ahoce…
tschaub Aug 3, 2010
b6ceb63
Do not change the active state of button controls on a panel when a t…
ahocevar Aug 4, 2010
83be2c1
Use a loop variable to avoid array lookups and use one if clause inst…
ahocevar Aug 4, 2010
a70c0ef
Change the OSM example to show how to setCenter (using reprojection), in
crschmidt Aug 4, 2010
c2e172f
fixed APIdocs. Non-functional change.
ahocevar Aug 5, 2010
7f54c27
Making it so the clear method on the canvas renderer permanently clea…
tschaub Aug 5, 2010
41ed9b6
Making consistent the evaluate method of filters. The evaluate metho…
tschaub Aug 5, 2010
f556ffe
Adding a removeAllFeatures method to the vector layer. This bypasses…
tschaub Aug 5, 2010
e9e7540
Example demonstrating the use of a filter with the WFS protocol.
tschaub Aug 5, 2010
af6d82d
Slippery proxy! (That 501 gets me all the time.)
tschaub Aug 7, 2010
4d4a8dd
Added note about requirement of serializability of feature attributes…
ahocevar Aug 9, 2010
58a5a3f
Marking setLayer on SelectFeature Control as API, non-functional change
bartvde Aug 11, 2010
2e53df1
the old-but-still-used GML format creates features with geometries of…
Aug 11, 2010
101c9ba
Only call dashStyle when strokeDashstyle is set. r=tschaub (closes #2…
ahocevar Aug 15, 2010
a3a8693
Adding OpenLayers.Date utility functions to parse and serialize dates…
tschaub Aug 18, 2010
df7cc01
Adding gx:Track parsing to the KML format. If extractTracks is true,…
tschaub Aug 18, 2010
761339c
Make it safer to extend the Google Layer by not invoking Map.getLayer…
ahocevar Aug 18, 2010
99f1759
Updating example and tests to demonstrate the trackAttributes propert…
tschaub Aug 18, 2010
fb8a487
Fixed onselect handling for the first down-move-up-out cycle. r=bartv…
ahocevar Aug 19, 2010
3374e6e
fixed positioning of rotated graphics after zoom change. r=tschaub (c…
ahocevar Aug 19, 2010
2c783b8
Creating a Type variable that refers to arguments[i]. Including pare…
tschaub Aug 20, 2010
ac6e6bb
Made transformcomplete listener do as documented - return the transfo…
ahocevar Aug 20, 2010
30b0e21
Give ReglarPolygon handler a layerOptions config option. p=zanchin, r…
ahocevar Aug 20, 2010
e547347
don't treat strings as array. p=madair, r=me (closes #2563)
ahocevar Aug 20, 2010
cb27481
Layer.WMS should use a supported exception format for WMS 1.3 by defa…
bartvde Aug 20, 2010
5663bc3
Properly setting the hoverRequest so it can be aborted. r=ahocevar (…
tschaub Aug 20, 2010
1d8e3d7
Adding a zoomOffset property to XYZ and TMS layers. This allows you …
tschaub Aug 20, 2010
6ab9bdc
Demonstrating that the layer.destroyFeatures() issue is already fixed…
tschaub Aug 20, 2010
6991c57
Giving the getCentroid method on geometry collections a 'weighted' ar…
tschaub Aug 20, 2010
f8ce649
Adding a filter strategy for limiting features that are included in a…
tschaub Aug 20, 2010
11a0552
Adding a WMTSGetFeatureInfo control for querying WMTS layers. r=ahoce…
tschaub Aug 20, 2010
ee9990f
Fixed ScaleLine when geodesic option is set to true and the map cente…
ahocevar Aug 20, 2010
d6e9159
Making it so mergeWithDefaultFilter returns undefined if the protocol…
tschaub Aug 20, 2010
c4c5086
Make VML behave when removing previously added stroke symbolizers. r=…
ahocevar Aug 20, 2010
3b315fd
Commit fix for #2670 from fredj, r=me (Closes #2670)
crschmidt Aug 21, 2010
bbdf06e
Fix from tim_abell to make build.py callable from another function,
crschmidt Aug 21, 2010
95e2214
In order to resolve a memory leak in IE, observable via drip, remove …
crschmidt Aug 21, 2010
12cad1c
ArcIMS layer does not have a proper clone method. patch=bartvde,
crschmidt Aug 21, 2010
b4b10f1
Remove unused events from OpenLayers documentation. doc change
crschmidt Aug 21, 2010
a4fcd81
Extend the maximum size of the FramedCloud popup to 1200px wide, inst…
crschmidt Aug 21, 2010
7e699f9
Update MousePositoin control to support activate/deactivate. Patch by…
crschmidt Aug 21, 2010
478c42b
WMSGetFeatureInfo: add an event when no queryable layers are found, r…
bartvde Aug 22, 2010
24554ac
Use the graphicOpacity to set canvas.globalAlpha. Move the image sour…
fredj Aug 23, 2010
a205386
Add a new option to Control.OverviewMap to start maximized. r=bartvde…
fredj Aug 23, 2010
1593078
Add a smooth transition for singleTile layer panning only. r=tschaub …
fredj Aug 23, 2010
701a739
Fix a localization problem with the XML format's createTextNode metho…
Aug 23, 2010
f90ed73
LonLat.add: cast arguments to float. r=crschmidt (closes #2686)
fredj Aug 23, 2010
3376539
New saveState option to restore the active state of controls in a pan…
ahocevar Aug 23, 2010
5972c8f
make Layer.addOptions call initResolutions if necessary, r=bartvde (c…
Aug 23, 2010
075c06d
Layer: add getter method for maxExtent, p=regli_dominik, r=me
Aug 23, 2010
54bc53c
Element.{show|hide}: check element before setting display. r=elemoine…
fredj Aug 23, 2010
dd3c548
add missing semicolon
fredj Aug 23, 2010
325e0e7
fix WKT MULIPOINT in tests (see #2670)
fredj Aug 24, 2010
89792cd
re-added MultiMap test with new API url and API key, but only if runn…
ahocevar Aug 24, 2010
cd23d1c
better regex for host check (see #1691)
ahocevar Aug 24, 2010
d65c4ea
Give Layer.Vector a getFeatureByFid and a getFeatureBy method. Thanks…
ahocevar Aug 24, 2010
e4d19e7
add missing semicolon
fredj Aug 25, 2010
3862f64
add missing semicolon
fredj Aug 25, 2010
505c48e
replace marker url (closes #2273)
fredj Aug 25, 2010
072382b
Panel: Adding controls, unnecessarily activations occur followed by
crschmidt Aug 26, 2010
9683acd
Fix for Anchored popup does not respect anchor size when relative pos…
crschmidt Aug 26, 2010
d940877
no way to pass read options from protocol to format, r=ahocevar,elemo…
bartvde Aug 29, 2010
6e1cf92
fix up tests in Layer.Image as well see #2360
bartvde Aug 29, 2010
3582e6e
fix up tests in Control SLDSelect (closes #2814)
bartvde Aug 29, 2010
c7e798b
Re-adding the authors.txt file that was lost when these two trees wer…
tschaub Aug 30, 2010
f7ae3ca
Merge branch '2.x'
tschaub Aug 30, 2010
424eefa
Merge remote branch 'git-svn' into 2.x
tschaub Aug 30, 2010
935643a
Merge branch '2.x'
tschaub Aug 30, 2010
65d05c2
Adding a location class. Making it so map.setCenter accepts location.
tschaub Sep 2, 2010
9e3afc0
Get rid of concatChildValues from Format.XML (only used by GeoRSS, ap…
crschmidt Sep 10, 2010
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pyc
5 changes: 0 additions & 5 deletions apidoc_config/Menu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ Group: OpenLayers {
File: LayerSwitcher (no auto-title, OpenLayers/Control/LayerSwitcher.js)
File: Measure (no auto-title, OpenLayers/Control/Measure.js)
File: ModifyFeature (no auto-title, OpenLayers/Control/ModifyFeature.js)
File: MouseDefaults (no auto-title, OpenLayers/Control/MouseDefaults.js)
File: MousePosition (no auto-title, OpenLayers/Control/MousePosition.js)
File: MouseToolbar (no auto-title, OpenLayers/Control/MouseToolbar.js)
File: Navigation (no auto-title, OpenLayers/Control/Navigation.js)
File: NavigationHistory (no auto-title, OpenLayers/Control/NavigationHistory.js)
File: NavToolbar (no auto-title, OpenLayers/Control/NavToolbar.js)
Expand Down Expand Up @@ -319,7 +317,6 @@ Group: OpenLayers {
File: KaMapCache (no auto-title, OpenLayers/Layer/KaMapCache.js)
File: MapGuide (no auto-title, OpenLayers/Layer/MapGuide.js)
File: MapServer (no auto-title, OpenLayers/Layer/MapServer.js)
File: MapServer.Untiled (no auto-title, OpenLayers/Layer/MapServer/Untiled.js)
File: Markers (no auto-title, OpenLayers/Layer/Markers.js)
File: MultiMap (no auto-title, OpenLayers/Layer/MultiMap.js)
File: PointTrack (no auto-title, OpenLayers/Layer/PointTrack.js)
Expand All @@ -330,9 +327,7 @@ Group: OpenLayers {
File: Vector (no auto-title, OpenLayers/Layer/Vector.js)
File: Vector.RootContainer (no auto-title, OpenLayers/Layer/Vector/RootContainer.js)
File: VirtualEarth (no auto-title, OpenLayers/Layer/VirtualEarth.js)
File: WFS (no auto-title, OpenLayers/Layer/WFS.js)
File: WMS (no auto-title, OpenLayers/Layer/WMS.js)
File: WMS.Untiled (no auto-title, OpenLayers/Layer/WMS/Untiled.js)
File: WMS.Post (no auto-title, OpenLayers/Layer/WMS/Post.js)
File: WorldWind (no auto-title, OpenLayers/Layer/WorldWind.js)
File: Yahoo (no auto-title, OpenLayers/Layer/Yahoo.js)
Expand Down
10 changes: 5 additions & 5 deletions authors.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ahocevar = ahocevar <[email protected]>
bartvde = bartvde <USER@DOMAIN>
bartvde = bartvde <[email protected]>
crschmidt = crschmidt <[email protected]>
elemoine = Éric Lemoine <[email protected]>
euzuro = euzuro <USER@DOMAIN>
follower = follower <USER@DOMAIN>
fredj = Frédéric Junod <[email protected]>
jrf = jrf <USER@DOMAIN>
pagameba = pagameba <USER@DOMAIN>
pgiraud = pgiraud <USER@DOMAIN>
sderle = sderle <USER@DOMAIN>
tschaub = tschaub <[email protected]>
pagameba = Paul Spencer <[email protected]>
pgiraud = pgiraud <[email protected]>
sderle = Schuyler Erle <[email protected]>
tschaub = Tim Schaub <[email protected]>
90 changes: 47 additions & 43 deletions build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,51 @@
sys.path.append("../tools")
import mergejs

have_compressor = None
try:
import jsmin
have_compressor = "jsmin"
except ImportError:
def build():
have_compressor = None
try:
import minimize
have_compressor = "minimize"
except Exception, E:
print E
pass

sourceDirectory = "../lib"
configFilename = "full.cfg"
outputFilename = "OpenLayers.js"

if len(sys.argv) > 1:
configFilename = sys.argv[1]
extension = configFilename[-4:]

if extension != ".cfg":
configFilename = sys.argv[1] + ".cfg"

if len(sys.argv) > 2:
outputFilename = sys.argv[2]

print "Merging libraries."
merged = mergejs.run(sourceDirectory, None, configFilename)
if have_compressor == "jsmin":
print "Compressing using jsmin."
minimized = jsmin.jsmin(merged)
elif have_compressor == "minimize":
print "Compressing using minimize."
minimized = minimize.minimize(merged)
else: # fallback
print "Not compressing."
minimized = merged
print "Adding license file."
minimized = file("license.txt").read() + minimized

print "Writing to %s." % outputFilename
file(outputFilename, "w").write(minimized)

print "Done."
import jsmin
have_compressor = "jsmin"
except ImportError:
try:
import minimize
have_compressor = "minimize"
except Exception, E:
print E
pass

sourceDirectory = "../lib"
configFilename = "full.cfg"
outputFilename = "OpenLayers.js"

if len(sys.argv) > 1:
configFilename = sys.argv[1]
extension = configFilename[-4:]

if extension != ".cfg":
configFilename = sys.argv[1] + ".cfg"

if len(sys.argv) > 2:
outputFilename = sys.argv[2]

print "Merging libraries."
merged = mergejs.run(sourceDirectory, None, configFilename)
if have_compressor == "jsmin":
print "Compressing using jsmin."
minimized = jsmin.jsmin(merged)
elif have_compressor == "minimize":
print "Compressing using minimize."
minimized = minimize.minimize(merged)
else: # fallback
print "Not compressing."
minimized = merged
print "Adding license file."
minimized = file("license.txt").read() + minimized

print "Writing to %s." % outputFilename
file(outputFilename, "w").write(minimized)

print "Done."

if __name__ == '__main__':
build()
4 changes: 0 additions & 4 deletions doc/customization
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ Customizing OpenLayers
OpenLayers is designed to fit many needs -- fitting in alongside all kinds of
various applications which are currently in use.

Currently, OpenLayers supports a 'theme' option when creating a map. This
theme option allows you to specify the location of a CSS theme which should
be included.

A default theme is available as an example in the theme/ directory: the setup
is:

Expand Down
5 changes: 0 additions & 5 deletions doc_config/Menu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ Group: OpenLayers {
File: LayerSwitcher (no auto-title, OpenLayers/Control/LayerSwitcher.js)
File: Measure (no auto-title, OpenLayers/Control/Measure.js)
File: ModifyFeature (no auto-title, OpenLayers/Control/ModifyFeature.js)
File: MouseDefaults (no auto-title, OpenLayers/Control/MouseDefaults.js)
File: MousePosition (no auto-title, OpenLayers/Control/MousePosition.js)
File: MouseToolbar (no auto-title, OpenLayers/Control/MouseToolbar.js)
File: Navigation (no auto-title, OpenLayers/Control/Navigation.js)
File: NavigationHistory (no auto-title, OpenLayers/Control/NavigationHistory.js)
File: NavToolbar (no auto-title, OpenLayers/Control/NavToolbar.js)
Expand Down Expand Up @@ -319,7 +317,6 @@ Group: OpenLayers {
File: KaMapCache (no auto-title, OpenLayers/Layer/KaMapCache.js)
File: MapGuide (no auto-title, OpenLayers/Layer/MapGuide.js)
File: MapServer (no auto-title, OpenLayers/Layer/MapServer.js)
File: MapServer.Untiled (no auto-title, OpenLayers/Layer/MapServer/Untiled.js)
File: Markers (no auto-title, OpenLayers/Layer/Markers.js)
File: MultiMap (no auto-title, OpenLayers/Layer/MultiMap.js)
File: PointTrack (no auto-title, OpenLayers/Layer/PointTrack.js)
Expand All @@ -330,9 +327,7 @@ Group: OpenLayers {
File: Vector (no auto-title, OpenLayers/Layer/Vector.js)
File: Vector.RootContainer (no auto-title, OpenLayers/Layer/Vector/RootContainer.js)
File: VirtualEarth (no auto-title, OpenLayers/Layer/VirtualEarth.js)
File: WFS (no auto-title, OpenLayers/Layer/WFS.js)
File: WMS (no auto-title, OpenLayers/Layer/WMS.js)
File: WMS.Untiled (no auto-title, OpenLayers/Layer/WMS/Untiled.js)
File: WMS.Post (no auto-title, OpenLayers/Layer/WMS/Post.js)
File: WorldWind (no auto-title, OpenLayers/Layer/WorldWind.js)
File: Yahoo (no auto-title, OpenLayers/Layer/Yahoo.js)
Expand Down
29 changes: 29 additions & 0 deletions examples/all-overlays-google.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<title>OpenLayers All Overlays with Google and OSM</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="../lib/OpenLayers.js"></script>
<script src="all-overlays-google.js"></script>
</head>
<body onload="init()">
<h1 id="title">All Overlays with Google and OSM</h1>
<p id="shortdesc">
Using the Google and OSM layers as overlays.
</p>
<div id="map" class="smallmap"></div>
<div id="docs">
<p>
Using the allOverlays property on the map, the first layer added
must initially be visible. This example demonstrates the use of
a Google layer and an OSM layer treated as overlays.
</p><p>
See the <a href="all-overlays-google.js" target="_blank">
all-overlays-google.js source</a> to see how this is done.
</p>
</div>
</body>
</html>
19 changes: 19 additions & 0 deletions examples/all-overlays-google.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
var map;

function init() {

map = new OpenLayers.Map({
div: "map",
allOverlays: true
});

var osm = new OpenLayers.Layer.OSM();
var gmap = new OpenLayers.Layer.Google("Google Streets", {visibility: false});

// note that first layer must be visible
map.addLayers([osm, gmap]);

map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();

}
4 changes: 2 additions & 2 deletions examples/baseLayers.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
}

function add() {
var url = 'http://boston.openguides.org/markers/AQUA.png';
var sz = new OpenLayers.Size(10, 17);
var url = 'http://www.openlayers.org/dev/img/marker.png';
var sz = new OpenLayers.Size(21, 25);
var calculateOffset = function(size) {
return new OpenLayers.Pixel(-(size.w/2), -size.h);
};
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-control-point.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
var map, layer;

function init(){
map = new OpenLayers.Map( $('map') );
map = new OpenLayers.Map('map');

layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
Expand All @@ -20,7 +20,7 @@
OpenLayers.Util.extend(control, {
draw: function () {
// this Handler.Point will intercept the shift-mousedown
// before Control.MouseDefault gets to see it
// before Control.Navigation gets to see it
this.point = new OpenLayers.Handler.Point( control,
{"done": this.notice},
{keyMask: OpenLayers.Handler.MOD_SHIFT});
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-control.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
OpenLayers.Util.extend(control, {
draw: function () {
// this Handler.Box will intercept the shift-mousedown
// before Control.MouseDefault gets to see it
// before Control.Navigation gets to see it
this.box = new OpenLayers.Handler.Box( control,
{"done": this.notice},
{keyMask: OpenLayers.Handler.MOD_SHIFT});
Expand Down
48 changes: 48 additions & 0 deletions examples/filter-strategy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head>
<title>OpenLayers Filter Strategy Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="../theme/default/google.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="../lib/OpenLayers.js"></script>
<script>OpenLayers.ImgPath = "../img/";</script>
<script src="filter-strategy.js"></script>
<style>
.olControlAttribution {
font-size: 9px;
bottom: 2px;
}
</style>
</head>
<body onload="init()">
<h1 id="title">Filter Strategy</h1>
<p id="shortdesc">
Demonstrates the filter strategy for limiting features passed to the layer.
</p>
<div id="map" class="smallmap"></div>
<label for="span">time span (seconds)</label>
<select id="span" name="span">
<option value="15">15</option>
<option value="30">30</option>
<option value="60" selected>60</option>
<option value="120">120</option>
<option value="240">240</option>
</select>
<input type="button" id="start" value="start">
<input type="button" id="stop" value="stop"><br><br>
<div id="docs">
<p>
This example uses a filter strategy to limit the features that are passed
to a layer. Features bound for this layer have a <code>when</code> attribute
with date values. A filter strategy is constructed with a between filter
that limits the span of dates shown. A simple animation cycles through
the domain of the <code>when</code> values, calling <code>setFilter</code>
on the strategy with an updated filter.
</p><p>
View the <a href="filter-strategy.js" target="_blank">filter-strategy.js</a>
source to see how this is done
</p>
</div>
</body>
</html>
Loading