Create at embed-able map iFrame using WMS services and leaflet.
JavaScript CSS PHP
Latest commit 170b18a Sep 18, 2013 @tobinbradley Merge pull request #4 from bmcbride/master
Ensure X and Y values are integers.
Permalink
Failed to load latest commit information.
css styling tweaks Sep 12, 2012
img Initial code commit. Sep 10, 2012
js Ensure X and Y values are integers. Sep 18, 2013
LICENSE Initial code commit. Sep 10, 2012
README.md doc update Sep 10, 2012
crossdomain.xml Initial code commit. Sep 10, 2012
embed.html Update Leaflet to 0.4.5 Jan 16, 2013
humans.txt Initial code commit. Sep 10, 2012
index.html tweak Sep 20, 2012
robots.txt Initial code commit. Sep 10, 2012
wmsproxy.php Initial code commit. Sep 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!