Comments (5)
Hmmm. The configuration for the basemap widget is the same for both cmv and cmv+calcite. Could you please provide an example of a custom basemap that does not work in cmv-calcite?
from cmv-calcite-maps.
The exact lines provided in basemap docs also created a cache tile in arcgis server and point the url to it. Let me mention that it seems that "Basemap" is not recognized although it is in both define and function of viewer.js
from cmv-calcite-maps.
mapOptions: {
basemap: new Basemap({
id: 'basemap1',
layers: [new BasemapLayer({
url: 'http://ServerName/arcgis/rest/services/BaseMapName/MapServer'
})]
}),
center: new Point({
x: 6356023.515330248,
y: 1917313.443425702,
spatialReference: {
wkid: 102642
}
}),
zoom: 5,
sliderStyle: 'small',
showAttribution: true
}
from cmv-calcite-maps.
If Basemap
is not recognized, then there is a problem with the module(s) in the define or the perhaps more likely the arguments to the function at the top of viewer.js. Check the number and order of the arguments.
from cmv-calcite-maps.
I checked but the issue remains. I noticed whichever of the three "basemap basemaplyer or point" is put first in function the issue arises at that one!
Anyway i found a workaround it i edited my local init.js file of arcgis js api and put my own url instead of street url and voila!
Thank you very much anyway
from cmv-calcite-maps.
Related Issues (12)
- Demo contents are not shown and Editor widget is not displayed well. HOT 2
- How we can open multiple widgets? HOT 2
- problem with local basemaps HOT 1
- the resources from cdn are not accessible HOT 2
- Click "close" button on panel it does not work.
- Widgets remain gray after they are closed HOT 3
- Streetview widget is not working HOT 1
- Menu in Layer Control Widget freezes open, won't close HOT 2
- Open Widget on right-click HOT 1
- Cannot read property id of null HOT 1
- dijit/form/DateTextBox not working with calcite HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmv-calcite-maps.