|
POST
|
They way i got this to work was by adding the above code and : dojo.require("dijit.TooltipDialog"); In the homepage.js on line 30. The css then needs to change because the text is white. The easiest way is to set a background color .dijitTooltipContainer { background-color: #2F4A24 !important; }
... View more
10-10-2014
09:08 AM
|
0
|
0
|
798
|
|
POST
|
It depends on if you are using a template or not, and what template. The parks and recreation finder uses your rest services layers and not AGOL id number. Other templates like story map use AGOL number. You can download the code deploy it on your server. That way anyone can use the app. When I made my first app I did not use AGOL.
... View more
10-10-2014
06:25 AM
|
0
|
0
|
804
|
|
POST
|
If you set up a proxy then yes someone would need to log in but ordinarily no you would not need to log in. Yes you can do that. Its not that easy but it is close depending on what you are trying to make. Most of the time when you download you have to input your own arcgis online web map id number. other times you have to add each layer in the script manually from your arcgis rest services. Don't forget to share with everyone if you plan on using a template that requires your map ID.
... View more
10-10-2014
06:13 AM
|
0
|
2
|
804
|
|
POST
|
Parks and recreation finder, I have tired the demo and my own app to see if I can scroll in the splash screen. It seems to work find on the mobile version (iphones) but for some reason when I touch the iPad screen the whole page moves and not the window inside the splash screen. Any ideas why this happens or how to change it?
... View more
10-09-2014
08:20 AM
|
0
|
3
|
3975
|
|
POST
|
I have downloaded the Citizen Service Request template file. I have created the layers and published them. I cannot seem to upload a photo. Either on a mobile device or on a computer. Do I need to add attachments? When I click submit, the loader gif continuously stays on the screen. Thank you, Rickey
... View more
10-03-2014
09:40 AM
|
0
|
1
|
950
|
|
POST
|
I have a raster table that I calculated values for. I then published this as a service. The table does not seem to carry over to arcgis online. Are raster tables supported on arcgis online?
... View more
09-25-2014
08:22 AM
|
0
|
3
|
4570
|
|
POST
|
Edit--> Preference-->General-->Procedural Runtime Help - I know there is another way to increase the size of the project by increasing the size of free memory (bottom right corner of CityEngine)
... View more
09-04-2014
06:54 AM
|
2
|
0
|
1753
|
|
POST
|
If you are talking about Javascript api @Tim Witt posted a blog about using location reverse look up. Javascript API - Location Widget
... View more
08-19-2014
07:40 AM
|
0
|
0
|
1863
|
|
POST
|
Do you have a Arcgis online account? If you do then you can make better web apps and they are really easy. Do you have a Server set up? https://www.arcgis.com/home/signin.html
... View more
08-15-2014
11:22 AM
|
1
|
1
|
1871
|
|
POST
|
Without you posting some of your code it will be hard. does your code use the snappingmaneger? snappingmanager-amd | API Reference | ArcGIS API for JavaScript
... View more
08-15-2014
10:31 AM
|
0
|
5
|
1871
|
|
POST
|
Is this a web app or ArcView? If arcView you need to change the snapping settings in Editor. If web app make sure your MXD that your service is running off of has that layer select-able and that your tolerance is not too large.
... View more
08-15-2014
08:19 AM
|
0
|
7
|
1871
|
|
POST
|
Thank you so much! My map uses zoom level so I had to change line 1.
if (map.getScale() < 1000) {
identifyParams.layerIds = [3,1,0]; // Identify all
} else {
identifyParams.layerIds = [3]; // Identify photos only
}
Thanks again, Rickey
... View more
08-14-2014
09:03 AM
|
0
|
0
|
1586
|
|
POST
|
Owen, Thank you for the quick reply. I believe that this solution could work for me. I have tried this morning and I am having a hard time incorporating your sample code into mine.
function mapReady(map) {
dojo.connect(map, "onClick", executeIdentifyTask);
//create identify tasks and setup parameters
identifyTask = new esri.tasks.IdentifyTask("http://gis.ashland.or.us/arcgis/rest/services/cemetery/MapServer");
identifyParams = new esri.tasks.IdentifyParameters();
identifyParams.tolerance = 10;
identifyParams.returnGeometry = true;
identifyParams.layerIds = [3,1,0];
identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL;
identifyParams.width = map.width;
identifyParams.height = map.height;
dojo.addClass(map.infoWindow.domNode, "myTheme");
}
function executeIdentifyTask(evt) {
identifyParams.geometry = evt.mapPoint;
identifyParams.mapExtent = map.extent;
var deferred = identifyTask.execute(identifyParams);
deferred.addCallback(function(response) {
// response is an array of identify result objects
// Let's return an array of features.
return dojo.map(response, function(result) {
var feature = result.feature;
feature.attributes.layerName = result.layerName;
if (result.layerName === 'Cemetery_Plots') {
console.log(feature.attributes.Last_Name);
var template = new esri.InfoTemplate("${First_Name} ${Last_Name} ", "<a href=http://gis.ashland.or.us/Scratch_web/cemetery/${Photo_loc} target='_blank'> <img src=${Photo_loc} WIDTH=150 HEIGHT=150></a> <br/> <b>Last Name:</b> ${Last_Name} <br/><b> First Name:</b> ${First_Name}<br/><b> Cemetery:</b> ${Cemetery}<br/> <b>Section:</b> ${Section}<br/> <b>Block: </b>${Block}<br/> <b>Lot:</b> ${Lot}<br/> <b>Space:</b> ${Space}<br/> <b>Age:</b> ${Age}<br/> <b>Date of Birth: </b>${Date_of_Birth}<br/> <b>Birth City:</b> ${Birth_Citys}<br/><b> Birth State:</b> ${Birth_State}<br/> <b>Birth Country:</b> ${Birth_Country}<br/><b> Date of Death: </b>${Date_of_Death}<br/> <b>Death State:</b> ${Death_State}<br/><b> Death City: </b>${Death_City}<br/> <b>Spouses Name: </b>${Spouses_Name}<br/> <b>Undertaker:</b> ${Undertaker}<br/> <b>Year of Birth:</b> ${Year_of_Birth}<br/> <b>Personal Notes:</b> ${Personal_Notes}");
feature.setInfoTemplate(template);
} else if (result.layerName === 'Mausoleum_Plots') {
var template = new esri.InfoTemplate("${First_Name} ${Last_Name} ", "<br/> <a href=http://gis.ashland.or.us/Scratch_web/cemetery/${Photo_loc} target=_blank ;'>Grave Stone Photo</a><br/> Last Name: ${Last_Name} <br/> First Name: ${First_Name}<br/> Cemetery: ${Cemetery}<br/> Section: ${Section}<br/> Block: ${Block}<br/> Lot: ${Lot}<br/> Space: ${Space}<br/> Age: ${Age}<br/> Date of Birth: ${Date_of_Birth}<br/> Birth City: ${Birth_Citys}<br/> Birth State: ${Birth_State}<br/> Birth Country: ${Birth_Country}<br/> Date of Death: ${Date_of_Death}<br/> Death State: ${Death_State}<br/> Death City: ${Death_City}<br/> Spouses Name: ${Spouses_Name}<br/> Undertaker: ${Undertaker}<br/> Year of Birth: ${Year_of_Birth}<br/> Personal Notes: ${Personal_Notes}");
feature.setInfoTemplate(template);
} else if (result.layerName === 'panorama_photos_loc') {
var template = new esri.InfoTemplate("${Location} "," <a href=${URL} target=_blank ;'><img style=border:0; src=${Image_loc} alt=Panoramic Photo width=220 height=70></a><br/>");
feature.setInfoTemplate(template);
}
return feature;
});
});
// InfoWindow expects an array of features from each deferred
// object that you pass. If the response from the task execution
// above is not an array of features, then you need to add a callback
// like the one above to post-process the response and return an
// array of features.
map.infoWindow.setFeatures([deferred]);
map.infoWindow.show(evt.mapPoint);
map.infoWindow.resize(map.infoWindow._contentPane.scrollWidth + 10, map.infoWindow._contentPane.scrollHeight + 200);
map.infoWindow.setContent(template);
map.infoWindow.show(evt.screenPoint, map.getInfoWindowAnchor(evt.screenPoint));
map.infoWindow.setContent(graphic.getContent());
}
Thank you
... View more
08-13-2014
09:18 AM
|
0
|
2
|
1586
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:53 PM | |
| 1 | 08-24-2022 09:40 AM | |
| 1 | 07-19-2018 04:41 PM | |
| 1 | 04-05-2024 03:12 PM | |
| 1 | 07-04-2024 11:42 AM |