How to start all this with WMS?

المشرف العام

Administrator
طاقم الإدارة
I can't find any tutorials or tips.

I've currently got url form local map provider: http://map.map-site.com/wms/alus?VERSION=1.1.1&REQUEST=GetCapabilities&SERVICE=WMS

Also that xml WMS file on hard drive (downloaded it when I went this url).

My map code (I call it somewhere else):

var map;var ajaxRequest;var plotlist;var plotlayers=[];function initmap() {//Set up the map map = new L.Map('map'); //Create the tile layer with correct attribution var osmUrl='http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; var osmAttrib='Map data © OpenStreetMap contributors'; var osm = new L.TileLayer(osmUrl, {minZoom: 8, maxZoom: 12, attribution: osmAttrib}); //Starting spot map.setView(new L.LatLng(0, 0),9); map.addLayer(osm);}I also have Leaflet added. I tried it with openstreetmap.org and it worked but now..

  1. How to add my local map providers layer?
  2. If I have a choice, should I use TMS, WMS-C, WMTS or WMS? Are they very different to add? What's their difference? What would suit me?
I need map to show thousands of markers (might go up to 20-30K in future), I'll add marker cluster & if you click on marker, infobox gets loaded via AJAX. These 2 measures should make this amount plausible.



أكثر...
 
أعلى