Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Create at embed-able map iFrame using WMS services and leaflet.

branch: master

Merge pull request #4 from bmcbride/master

Ensure X and Y values are integers.
latest commit 170b18af0b
Tobin Bradley authored September 18, 2013
Octocat-spinner-32 css styling tweaks September 11, 2012
Octocat-spinner-32 img Initial code commit. September 10, 2012
Octocat-spinner-32 js Ensure X and Y values are integers. September 18, 2013
Octocat-spinner-32 LICENSE Initial code commit. September 10, 2012
Octocat-spinner-32 README.md doc update September 10, 2012
Octocat-spinner-32 crossdomain.xml Initial code commit. September 10, 2012
Octocat-spinner-32 embed.html Update Leaflet to 0.4.5 January 16, 2013
Octocat-spinner-32 humans.txt Initial code commit. September 10, 2012
Octocat-spinner-32 index.html tweak September 19, 2012
Octocat-spinner-32 robots.txt Initial code commit. September 10, 2012
Octocat-spinner-32 wmsproxy.php Initial code commit. September 10, 2012
README.md

Map Widget Maker

Create at embed-able map iFrame using WMS services and leaflet. You can see a demo here.

Configuration options are located in js/config.json.

  • basemaps - A basemap can be any tile server (zxy). Give the base map in identifier and suppy it with a title, url (with placeholders for zxy - see examples). Options currently include attribution information.
  • wmsurl - The URL to the WMS server. Note this is the base url - GetCapabilities or GetFeatureInfo will be tacked on in the code.
  • wmsnamespace - This is a namespace filter property (think GeoServer). Leave it empty to get everything.
  • wmsfilter - Filter out any entries that don't contain this text. Leave it empty to get everything.
  • attribution - Attribution for the WMS layers.
  • defaultlayer - This currently does nothing. You're welcome!
  • center - The default map center to begin at.
  • zoom - The default zoom level to begin at.
  • search - Include a search box in the map. Currently does nothing. You're welcome!
Something went wrong with that request. Please try again.