Skip to content

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.
JavaScript CSS PHP
branch: master

Merge pull request #4 from bmcbride/master

Ensure X and Y values are integers.
latest commit 170b18af0b
@tobinbradley authored
Failed to load latest commit information.
css styling tweaks
img Initial code commit.
js Ensure X and Y values are integers.
LICENSE Initial code commit.
README.md doc update
crossdomain.xml Initial code commit.
embed.html Update Leaflet to 0.4.5
humans.txt Initial code commit.
index.html tweak
robots.txt Initial code commit.
wmsproxy.php Initial code commit.

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.