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

Example/tutorial for WMS and TMS #4349

Merged
merged 2 commits into from
Apr 2, 2016
Merged

Example/tutorial for WMS and TMS #4349

merged 2 commits into from
Apr 2, 2016

Conversation

IvanSanchez
Copy link
Member

Part of #4239

<body>
<div id="map" style="width: 600px; height: 400px"></div>

<script src="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure you want to link to master here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me set change everything to some 1.0.0-beta URLs

@IvanSanchez IvanSanchez added the docs Improvements or additions to documentation label Mar 23, 2016
}).addTo(map);



Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe clean up some whitespace

@IvanSanchez
Copy link
Member Author

After some proof-reading from @jieter, I've created better templates for the iframed examples - this allows to develop small examples and change the Leaflet version in all framed examples at once.

@jieter
Copy link
Contributor

jieter commented Mar 23, 2016

Templates look good!

@IvanSanchez IvanSanchez added this to the 1.0 milestone Mar 23, 2016

The `layers` option is a comma-separated list of layers. If a WMS service has defined several layers, then a request for a map image can refer to more than one layer.

For the example WMS server we're using, there is a `ne:ne_10m_admin_0_countries` WMS layer showing country landmasses and country names, and a `ne:ne_10m_admin_0_boundary_lines_land` WMS layer showing country boundaries. The WMS server will compose both layers in one image if we request both, separated with a comma:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to be an 'in' missing in this sentence.

@IvanSanchez IvanSanchez force-pushed the gh-pages-wms branch 2 times, most recently from 1889980 to a7972ed Compare March 24, 2016 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants