Comments (7)
You need to update the wkid of the initialExtent to the proper projection (102100 is web mercator). Look here to find the wkid (well known ID) of your projection: http://developers.arcgis.com/en/javascript/jshelp/ref_coordsystems.html (look in the projected list). Looks like it might be 26717. Another way to find this would be to look at your published map service in the services directory page of your ArcGIS Server. It will tell you the spatial reference and wkid of your map service.
from cmv-app.
Also, make sure the coords are in your projection.
from cmv-app.
Well, I think the problem is that the data is projected in UTM Zone 17N US Ft when it's usually in meters
So when the data is changed to US Foot:
It puts the projection under Custom and the WKID goes away.
The WKID you mentioned above (26717) is for UTM Zone 17M in Meters.
I'm not sure what to do
from cmv-app.
Can you send me the url to the map service you are using for the basemap?
from cmv-app.
The url is not working for me. Is that an externally accessible url or internal only?
from cmv-app.
Yes, you have a custom projection. In this case you would set the spatial reference to the "wkt" (well known text). Get the well wkt from the services directory (the spatial reference string) and then create the spatial reference as described in the documentation here:
http://developers.arcgis.com/en/javascript/jsapi/spatialreference.html#spatialreference3
Your wkt is:
'PROJCS["NAD_1927_UTM_Zone_17N",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640419.947506562],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Foot",0.3048]]'
from cmv-app.
It worked! I realize this was probably out of scope but I really appreciate you taking the time to help.
from cmv-app.
Related Issues (20)
- field value should contain hyperlink in a popup obtain from search widget in 2.8 versionWeb App builder developer edition
- Removing infoTemplate on setMapClickMode HOT 2
- Create Dialog Box Dynamically,Get user input values and Add Text Graphics on Map ? HOT 1
- vector tile service 4.x supported? HOT 2
- Toggle Labeling menu LayerControl widget Layers ? HOT 5
- Can only identify top layer in Grouped Layer configuration HOT 5
- add WMS-C layer
- Print Scale Error HOT 3
- can cmv be localized??? HOT 4
- example to use Arcade in a customized identify config file HOT 2
- Feature Server support?
- support arcgis javascript api v3.33? or v3.28 HOT 4
- Are you going to make v4.16 version of CMV? v3.x will retired in 2022 as ESRI claimed HOT 4
- Save Layer Visibility State in URL Query Params HOT 2
- How put an accordion in left pane HOT 2
- BUG? - LayerControl doesn´t show all simbology
- Doubt: how open sidebarBottom programatically? HOT 1
- Zoom Level in Attribute Grid HOT 1
- Missing iconClass in widget config causes crash while loading on mobile HOT 1
- Home Button bug HOT 3
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-app.