Skip to main content
improved grammar, spelling, and formatting, added tags
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

geoportail with CMVConfigurable Map Viewer

iI am new in GIS programming, iI have to createcreated a geoportail with cmv with the Configurable Map Viewer (CMV). iI want to add my kmlKML layers but they don't appear in the map. bellowBelow is the part of my code

operationalLayers: [{
            type: 'kml',
            url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/",
            title: 'banques',
            options: {
                id: 'libelle',
                opacity: 1.0,
                visible: true,
                outFields: ["*"],
                mode: 0
            },
            editorLayerInfos: {
                disableGeometryUpdate: false
            },
            legendLayerInfos: {
                exclude: false,
                layerInfo: {
                    title: 'My layer'
                }
            }
  }, {
            type: 'kml',
            url:    'http://localhost:6080/arcgis/rest/services/ban/MapServer',
            title: 'Region Rabat Sale',
            options: {
                id: 'key',
                opacity: 1.0,
                visible: true,
                mode: 0
            }
  },
  
   ],

geoportail with CMV

i am new in GIS programming, i have to create a geoportail with cmv. i want to add my kml layers but they don't appear in the map. bellow is the part of my code

operationalLayers: [{
            type: 'kml',
            url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/",
            title: 'banques',
            options: {
                id: 'libelle',
                opacity: 1.0,
                visible: true,
                outFields: ["*"],
                mode: 0
            },
            editorLayerInfos: {
                disableGeometryUpdate: false
            },
            legendLayerInfos: {
                exclude: false,
                layerInfo: {
                    title: 'My layer'
                }
            }
  }, {
            type: 'kml',
            url:    'http://localhost:6080/arcgis/rest/services/ban/MapServer',
            title: 'Region Rabat Sale',
            options: {
                id: 'key',
                opacity: 1.0,
                visible: true,
                mode: 0
            }
  },
  
   ],

geoportail with Configurable Map Viewer

I am new in GIS programming, I have to created a geoportail with the Configurable Map Viewer (CMV). I want to add my KML layers but they don't appear in the map. Below is the part of my code

operationalLayers: [{
            type: 'kml',
            url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/",
            title: 'banques',
            options: {
                id: 'libelle',
                opacity: 1.0,
                visible: true,
                outFields: ["*"],
                mode: 0
            },
            editorLayerInfos: {
                disableGeometryUpdate: false
            },
            legendLayerInfos: {
                exclude: false,
                layerInfo: {
                    title: 'My layer'
                }
            }
  }, {
            type: 'kml',
            url:    'http://localhost:6080/arcgis/rest/services/ban/MapServer',
            title: 'Region Rabat Sale',
            options: {
                id: 'key',
                opacity: 1.0,
                visible: true,
                mode: 0
            }
  },
  
   ],
added 137 characters in body
Source Link
tinlyx
  • 11.2k
  • 18
  • 76
  • 127

i am new in GIS programming, i have to create a geoportail with cmv,. i want to add my kml layers but they don't appear in the map. bellow is the part of my code operationalLayers: [{ type: 'kml', url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/", title: 'banques', options: { id: 'libelle', opacity: 1.0, visible: true, outFields: ["*"], mode: 0 }, editorLayerInfos: { disableGeometryUpdate: false }, legendLayerInfos: { exclude: false, layerInfo: { title: 'My layer' } } }, { type: 'kml', url: 'http://localhost:6080/arcgis/rest/services/ban/MapServer', title: 'Region Rabat Sale', options: { id: 'key', opacity: 1.0, visible: true, mode: 0 } },

],

operationalLayers: [{
            type: 'kml',
            url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/",
            title: 'banques',
            options: {
                id: 'libelle',
                opacity: 1.0,
                visible: true,
                outFields: ["*"],
                mode: 0
            },
            editorLayerInfos: {
                disableGeometryUpdate: false
            },
            legendLayerInfos: {
                exclude: false,
                layerInfo: {
                    title: 'My layer'
                }
            }
  }, {
            type: 'kml',
            url:    'http://localhost:6080/arcgis/rest/services/ban/MapServer',
            title: 'Region Rabat Sale',
            options: {
                id: 'key',
                opacity: 1.0,
                visible: true,
                mode: 0
            }
  },
  
   ],

i am new in GIS programming, i have to create a geoportail with cmv, i want to add my kml layers but they don't appear in the map. bellow the part of my code operationalLayers: [{ type: 'kml', url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/", title: 'banques', options: { id: 'libelle', opacity: 1.0, visible: true, outFields: ["*"], mode: 0 }, editorLayerInfos: { disableGeometryUpdate: false }, legendLayerInfos: { exclude: false, layerInfo: { title: 'My layer' } } }, { type: 'kml', url: 'http://localhost:6080/arcgis/rest/services/ban/MapServer', title: 'Region Rabat Sale', options: { id: 'key', opacity: 1.0, visible: true, mode: 0 } },

],

i am new in GIS programming, i have to create a geoportail with cmv. i want to add my kml layers but they don't appear in the map. bellow is the part of my code

operationalLayers: [{
            type: 'kml',
            url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/",
            title: 'banques',
            options: {
                id: 'libelle',
                opacity: 1.0,
                visible: true,
                outFields: ["*"],
                mode: 0
            },
            editorLayerInfos: {
                disableGeometryUpdate: false
            },
            legendLayerInfos: {
                exclude: false,
                layerInfo: {
                    title: 'My layer'
                }
            }
  }, {
            type: 'kml',
            url:    'http://localhost:6080/arcgis/rest/services/ban/MapServer',
            title: 'Region Rabat Sale',
            options: {
                id: 'key',
                opacity: 1.0,
                visible: true,
                mode: 0
            }
  },
  
   ],
Source Link
Fedwa
  • 59
  • 4

geoportail with CMV

i am new in GIS programming, i have to create a geoportail with cmv, i want to add my kml layers but they don't appear in the map. bellow the part of my code operationalLayers: [{ type: 'kml', url: "http://localhost:6080/arcgis/rest/services/ban/MapServer/", title: 'banques', options: { id: 'libelle', opacity: 1.0, visible: true, outFields: ["*"], mode: 0 }, editorLayerInfos: { disableGeometryUpdate: false }, legendLayerInfos: { exclude: false, layerInfo: { title: 'My layer' } } }, { type: 'kml', url: 'http://localhost:6080/arcgis/rest/services/ban/MapServer', title: 'Region Rabat Sale', options: { id: 'key', opacity: 1.0, visible: true, mode: 0 } },

],