Web Tile Layer Takes over
Hello,
(Using HTML5 2.4 and 4.3 essentials)
I wrote this once before, but in taking time to make sure it was all ok, it timed out on me. So I will do this again :)
Problem 1: I added a web tile layer Map service to my site. Took a bit to figure out the proper URL. FYI you would need to (in some cases) encode from z to the end (z={level}&r={row}&c={col} -- z%3D%7Blevel%7D%26r%3D%7Brow%7D%26c%3D%7Bcol%7D). Add the original URL to the connections and then once there add to the map, save site and go to the site.xml and replace from z to the end with the encoded value. After I got that figured out I can now preview the tile service in the Preview window, which was blank before. NOW the problem is that it has taken over my site. I can't see my mxd (arcgis rest service map). AND when I open up the viewer to view it there is NOTHING there. No web tile base map service, no mxd, nothing. The tools are all there and all that stuff but no maps.
Problem 2: It also takes over my initial and full extents!! Those are based on my mxd. When I look in the site.xml they are still there as they should be but are not used!!
Problem 3: The viewer is now using the base map projection, I don't want that it has to be the mxd projection.
mxd Service is:
Data Source Type: ArcGIS Server REST (Map Service)
Spatial Reference: Canada Lambert Conformal Conic (WKID: 102002)
web tile layer service is:
Data Source Type: Web Tiled
Spatial Reference: WGS 1984 Web Mercator Auxiliary Sphere (WKID: 102100)
When I view the viewer I can see on the bottom that the Default WKID is 102100 which is the base map. I did the following changes in the Desktop.json.js. CoordinatesViewModel: "useBasemapCoordinates": false, (was true made false) cleared cache and the coordinates are still based on the base map.
Thanks for reading and any help would be appreciated.
Sammi
-
Update:
I can see my layers in the TOC. I can do a Query of some data and then it zooms in and I can see stuff.
The Initial Extent and Full Extent and one book mark is all based on wkid 102002.
Once I added the web tile layer service it has taken over my "Edit Initial Extent" window to now point to WGS 1984 Web Mercator Auxiliary Sphere (WKID: 102100).
So this is why my saved bookmark no longer works or my initial extent or full extent as it was set in the wkid 102002 which is what I want, now everything is using what I don't want.
0 -
Having no control over your Preferred Spatial Reference, is this a limitation of Geocortex? Am I missing something simple in the site.xml?
0 -
Read the proper documentation:
“Because tiled services cannot be reprojected , tiled services are often placed at the bottom of the list on the Map Services tab. To move a service to a different position in the list, drag the service and drop it in its new position.”
So problem mostly solved.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare