Giter Site home page Giter Site logo

Comments (6)

JhopStl avatar JhopStl commented on July 18, 2024

Note: Reverting back to WAB versions 2.3 or 2.2 allows IE to load the basemap properly, however the aforementioned errors still persist.

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 18, 2024

@JhopStl i am using custom basemaps anf WAB version 2.4 without issue. Not sure what the issue is here. I'll try to debug your public app when at a desktop. Thanks for providing that.

from cmv-wab-widgets.

JhopStl avatar JhopStl commented on July 18, 2024

@tmcgee I appreciate it. With that, I've probably just configured something incorrectly...I spent quite awhile looking at it, and I plan on spending even more time when I'm free.

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 18, 2024

@JhopStl Since you are using ESRI Map Services, did you try using basemap and baseMapLayers instead of layers? Here's an example for one of your custom basemaps:

aerial2015: {
    title: '2015 Aerial',
    basemap: {
        baseMapLayers: [
            {
                url: 'http://10.10.143.115/scc_gis/rest/services/appservices/JS_ortho2015/MapServer'             
	    }
        ]			
    }
},

NOTE: I cannot test using the public application you provided since the i.p. address 10.10.143.115 is not accessible outside your network. I did test using these basemaps in the cmv demo.

from cmv-wab-widgets.

JhopStl avatar JhopStl commented on July 18, 2024

@tmcgee Here is the working public URL: http://map.sccmo.org/Main/gis_dev/
I tried your suggestion, and it worked.

Viewer.js
1

Thanks!

from cmv-wab-widgets.

cmccullough2 avatar cmccullough2 commented on July 18, 2024

Can you use Google Terrain as the main basemap?
googleTerrain: {
title: 'Google Terrain',
basemap: new Basemap({
id: 'googleTerrain',
layers: [new BasemapLayer({
url: "https://mt${subDomain}.google.com/vt/lyrs=t,r&hl=en&gl=en&x=${col}&y=${row}&z=${level}&s=png",
copyright: "Google, 2015",
id: "googleTerrain",
subDomains: ["0", "1", "2", "3"],
type:"WebTiledLayer"
})
]
})
}

from cmv-wab-widgets.

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.