POST
|
The property is basemapTerrain.opacity, change it from 1 to 0
... View more
12-20-2016
11:56 AM
|
2
|
1
|
696
|
POST
|
Using a WebScene, how do I enable the "See through ground" option? The AGOL viewer and PRO viewer have this functionality, so I know it exists, just can't seem to find the right property to set. Thanks
... View more
12-20-2016
11:53 AM
|
0
|
4
|
1365
|
POST
|
Any update on this? In AGOL and Pro I can "See though ground" with the toggle option on basemaps, but in a WebScene using the JS API, the basemap is always fully visible and the camera never goes below sea level. Any help here?
... View more
12-20-2016
11:50 AM
|
0
|
0
|
1070
|
POST
|
The 1 row/1 column was just an example. Change it to 2 columns and it performs the same way. Adding a height to the div used for the map container has solved it.
... View more
06-06-2016
01:04 PM
|
0
|
0
|
2534
|
POST
|
All I did was add bootstrap/jquery and inclose the view container div. <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Get started with MapView - Create a 2D map</title>
<style>
html, body, #viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
</style>
<link rel="stylesheet" href="https://js.arcgis.com/4.0/esri/css/main.css">
<script src="https://js.arcgis.com/4.0/"></script>
<script src="https://code.jquery.com/jquery-2.2.2.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script>
require([
"esri/Map",
"esri/views/MapView",
"dojo/domReady!"
], function(Map, MapView){
var map = new Map({
basemap: "streets"
});
var view = new MapView({
container: "viewDiv", // Reference to the scene div created in step 5
map: map, // Reference to the map object created before the scene
zoom: 4, // Sets the zoom level based on level of detail (LOD)
center: [15, 65] // Sets the center point of view in lon/lat
});
});
</script>
</head>
<body>
<div class="row">
<div class="col-sm-12">
<div id="viewDiv"></div>
</div>
</div>
</body>
</html>
... View more
06-03-2016
04:36 PM
|
0
|
2
|
2534
|
POST
|
I cant seem to load a basic webmap into a bootstrap div. <div class="row"> <div class="col-xs-12" style="background-color: red"> <div id="viewDiv"> </div> </div> </div> No map, any ideas? Is there some conflict with 4.0 and bootstrap?
... View more
06-03-2016
04:03 PM
|
0
|
6
|
6067
|
POST
|
Thank you Yue Wu. So when you say the permission checking could be implemented inside your own client implemenation of OAuth, I will have to check if the user that signed in is apart of the Group my application is shared in? Checking user credentials.groups and comparing?
... View more
04-26-2016
10:40 AM
|
0
|
1
|
1200
|
POST
|
Yes, the application is shared within a group. There is no error message. The application is registered in ArcGIS Online, with an AppId. I use that AppId within the oAuthInfo object. var info = new OAuthInfo({ appId: myAppId, popup: false }); The problem is anyone with an ArcGIS Online account can sign in. How do I limit it to only members of the Application group?
... View more
04-26-2016
09:46 AM
|
0
|
0
|
1200
|
POST
|
I have the application inside a group. The application doesn't access any webmaps or items.
... View more
04-25-2016
04:51 PM
|
0
|
2
|
1200
|
POST
|
After I have registered an Application in My Content, using the AppID with the oAuth manager, I want to be able to limit the users that can authenticate to only members of a certain group. So if I share the Application with only Group A, members of Group A should be the only ones that can sign in. I have this setup in my organization, but oAuth is letting anyone with an ArcGIS Online account authenticate. How do I restrict the users that can sign in?
... View more
04-25-2016
04:26 PM
|
0
|
7
|
3004
|
POST
|
The 3.14 API is broken, as of last night? If you are using a map service layer, fea is the last trailing sentence. js.arcgis.com/3.14/init.js
... View more
04-08-2016
09:30 AM
|
0
|
1
|
2406
|
POST
|
I'm trying to generate a token to access http://landscape1.arcgis.com/arcgis/rest/services/USA_Geology_Units/MapServer var params = { username: username password: password //referer: 'http://l' + $(location).attr("host") + '/', referer: 'http://landscape1.arcgis.com/arcgis/rest', expiration: 1440, f: "json" }; $.ajax({ url: "https://www.arcgis.com/sharing/rest/generateToken?", type: "POST", dataType: "json", data: params, success: function (data) { the token in the data object is not working, the landscape1 just redirects to the login page. Any ideas?
... View more
02-25-2016
11:20 AM
|
0
|
1
|
2505
|
POST
|
After I have set an AGSGDBFeatureServiceTable, and invoked the loadCompletion block, I set the delegate and add the layer to my mapView. Inside the delegate layerDidLoad method, I receive confirmation the layer did load. Then I query the AGSGDBFeatureServiceTable for features, and get mixed results. Sometimes I get all the features, 5 total, and other times I get 0. The documentation led me to believe that layerDidLoad is what I should be waiting for but it looks like that isn't it. I can't seem to find what exactly I should be waiting for to query the service. Any ideas?
... View more
10-28-2015
12:32 PM
|
0
|
1
|
2628
|
Title | Kudos | Posted |
---|---|---|
2 | 12-20-2016 11:56 AM | |
1 | 08-19-2014 10:33 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|