|
POST
|
Jamal, With a locator based on street ranges, it will never plot exactly on buildings, unless the buildings are right on the street and your ranges are setup perfect. The closest to perfect you can get is using a composite address locator. If you use your building layer first and street second. It should first look at your building layer, if an address is found you will get the exact location, if not you will at least get an approximate location by using your street address locator. Hope this helps! Tim
... View more
04-07-2014
04:34 AM
|
0
|
0
|
3586
|
|
POST
|
John: Try the new Collector for ArcGIS app (10.2.2). https://play.google.com/store/apps/details?id=com.esri.arcgis.collector Then, at a browser on a computer, load your zipped shapefile into your My Content area and be sure to make it a Feature Service. Go to the new shapefile feature service details page and enable editing. Open a new map, add your shapefile feature service, choose a map background then save the map. On your Android device, open the Collector App and log into your ArcGIS Online account and find your new map. Edit your points. Just remember, for this you would need an organizational or a developer account.
... View more
04-03-2014
10:46 AM
|
0
|
0
|
1007
|
|
POST
|
John, when you add shapefiles to my content you won't be able to add them to any map. You need to add your zipped shapefiles directly to a map. With an organizational account you can however add feature services to your content, then you will be able to add them to your map and you will be able to find them. Hope this clears it up! Tim
... View more
04-03-2014
05:59 AM
|
0
|
0
|
1007
|
|
POST
|
You would need to have Arc Server to be able to use it in your application. See here.
... View more
03-31-2014
10:54 AM
|
0
|
0
|
1180
|
|
POST
|
Behrouz, the issue is that in your require the BorderContainer and ContentPane screw up the order in your function, use the following code: <!DOCTYPE html>
<html>
<head>
<title>Create a Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.8/js/esri/css/esri.css">
<style>
html, body, #mapDiv{
padding: 0;
margin: 0;
height: 100%;
}
#HomeButton {
position: absolute;
top: 98px;
left: 21px;
z-index: 50;
}
</style>
<script src="http://js.arcgis.com/3.8/"></script>
<script>
require([
"esri/map",
"esri/dijit/OverviewMap", "dojo/parser",
"esri/dijit/HomeButton", "esri/layers/FeatureLayer", "dojo/dom-construct","dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dojo/domReady!"
], function(
Map, OverviewMap,
parser, HomeButton, FeatureLayer
) {
parser.parse();
var map = new Map("mapDiv", {
basemap: "topo",
center: [-126.416, 55.781],
zoom: 6
});
//===================================================== Overview
var overviewMapDijit = new OverviewMap({
map: map,
visible: true
});
overviewMapDijit.startup();
//===================================================== Shapefile
//add a layer to the map
var featureLayer = new FeatureLayer("http://somewhere/1", {
mode: FeatureLayer.MODE_ONDEMAND,
});
map.addLayer(featureLayer);
//===================================================== Home Button
var home = new HomeButton({
map: map
}, "HomeButton");
home.startup();
});
</script>
</head>
<body class="claro">
<div id="mapDiv">
<div id="HomeButton"></div>
</div>
</body>
</html> Hope this helps! Tim
... View more
03-28-2014
04:21 AM
|
0
|
0
|
635
|
|
POST
|
Hi there, this sample should help you. Where it says var locatorUrl = "http://servicesbeta.esri.com/ArcGIS/rest/services/LocateValveByAssetID/GeocodeServer"; just put the URL to your service and it should work. Tim
... View more
03-27-2014
04:21 AM
|
0
|
0
|
1180
|
|
POST
|
Ryan, did you try and open an empty MXD and then click File -> Add Data... -> Add XY Data...? Tim
... View more
03-26-2014
06:24 AM
|
0
|
0
|
917
|
|
POST
|
Jamie, you can also use the following code to not make layers visible and be unchecked, lets take your cities layer as example: cities.setVisibility(false); put this in your code, like shown below: var cities = new FeatureLayer(
"http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"]
});
cities.setVisibility(false); This will make your city layer not visible and unchecked. I hope this is what you are asking for. Tim
... View more
03-26-2014
04:15 AM
|
0
|
0
|
1354
|
|
POST
|
It seems they used app.map and app.printURL within a list, which you can see by looking at var app ={}; For your purpose you needed to reference the map (which the map name was app.map) in your Basemap gallery. If you change the name from app.map to just map and then change "map: app.map" to "map: map" your basemap widget should still work. Sometimes its hard for me to explain 🙂
... View more
03-24-2014
12:15 PM
|
0
|
0
|
1930
|
|
POST
|
You are right it is app.map because they declared this first. var app = {};
... View more
03-24-2014
12:08 PM
|
0
|
0
|
1930
|
|
POST
|
Jay, the app.map and map are just names for your map. In your Basemagallery, the first map will always be map, only what is behind the ":" changes depending in what you have named your map. I recommend naming your map always map (i.e. map = new esri.Map("map"....) this will cut down on confusion 🙂 Tim
... View more
03-24-2014
12:03 PM
|
0
|
0
|
1930
|
|
POST
|
Paul, you don't need to upload any geodatabase to be able to use domains, you only need to upload a feature service. Open a MXD and add your layer from your geodatabase, which you created with domains. 1) Click on File -> Sign In... (Here you sign into your organizational account) 2) Click on File -> Share As -> Service -> Publish a service 3) As connection choose My Hosted Services (My Account) and as service name use what you want the layer to be called. 4) Under the capabilities tab uncheck "Tiled Mapping" and check "Feature Access" 5) Fill out the Item Description tab 6) Under sharing you can check who is able to see it once published 7) Click Publish in the upper right corner and it will soon show up in your "My Content" on ArcGIS Online This will upload your layer with the domains you set up in a geodatabase. You will need to have an organizational or developer ArcGIS online account. Hope this helps! Tim
... View more
03-24-2014
11:52 AM
|
0
|
0
|
862
|
|
POST
|
Rafa, did you try and switch the X and the Y coordinates and see if that fixes the location? Tim
... View more
03-24-2014
09:01 AM
|
0
|
0
|
2426
|
|
POST
|
How are you pulling in the data? Do you have a spreadsheet?
... View more
03-24-2014
07:41 AM
|
0
|
0
|
2426
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-25-2013 07:58 AM | |
| 1 | 03-06-2014 06:03 AM | |
| 4 | 12-09-2013 03:25 AM | |
| 1 | 04-16-2014 04:11 AM | |
| 1 | 04-24-2014 10:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|