Giter Site home page Giter Site logo

Danish Server Tiles not working about nexus2 HOT 7 CLOSED

shiv-io avatar shiv-io commented on August 25, 2024
Danish Server Tiles not working

from nexus2.

Comments (7)

tango2 avatar tango2 commented on August 25, 2024

OK, I'm trying to understand what the service did to the service. Can you get it to work in ArcGIS? Maybe there's a difference in the service for leaflet.

from nexus2.

shiv-io avatar shiv-io commented on August 25, 2024

I was able to import it on ArcGIS online as a WMS OGC Web Service:
image

from nexus2.

shiv-io avatar shiv-io commented on August 25, 2024

I'm now starting to think it may have to do with the fact that i was trying to import the web tiles using the Tile Layer method in Leaflet which I think requires the url to be in a specific format i.e. https://{subDomain}.domain.com//{level}/{col}/{row}.jpg

from nexus2.

shiv-io avatar shiv-io commented on August 25, 2024

I probably need to use the TileLayer.WMS method. Will use that now!

from nexus2.

tango2 avatar tango2 commented on August 25, 2024

from nexus2.

shiv-io avatar shiv-io commented on August 25, 2024

From what I can see in inspect mode, the tiles are being pulled from the server but map isn't showing up on the browser. This may be a code problem, but I think I've used the method correctly. Will keep working on this

var danishLayer = L.tileLayer.wms('http://kortforsyningen.kms.dk/service?servicename=topo20_hoeje_maalebordsblade&client=arcGIS&request=GetCapabilities&service=WMS&version=1.1.1&login=tango1963&password=heimskr1;',{
    layers: 'Høje målebordsblade, 1842-1899'
}).addTo(this.map);

screen shot 2018-06-05 at 9 55 03 pm

from nexus2.

shiv-io avatar shiv-io commented on August 25, 2024

Fixed.

The problem was I was entering the server name thinking that was the layer name. The layer name is dtk_hoeje_maalebordsblade not Høje målebordsblade, which is the server name

from nexus2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.