|
POST
|
It looks like this is just for the Esri REST API. I have some non-spatial data in a DB2 database that I am trying to evaluate if it can be edited through web services. It looks like I would need to consume non-geospatial data through .NET web services.
... View more
01-12-2015
10:16 AM
|
0
|
6
|
1476
|
|
POST
|
One question on that. Can the REST Services be published as editable?
... View more
01-12-2015
09:36 AM
|
0
|
8
|
2764
|
|
POST
|
I had my variable of OverviewMap and Scalebar in reverse order. So my overviewmap disappeared and the tiled black and white scalebar appeared. I thought this was worth keeping to demo what can happen when you have your variables in the wrong order.
... View more
01-09-2015
09:35 AM
|
0
|
0
|
706
|
|
POST
|
I have three apps that I am creating as templates side by side. In my gisWeb app, my scalebar looks like this: In both my gisTemplate app and my gisMobile app they look like this: And I don't know how I got this look. All three apps use the same JavaScript and the same CSS. I have linked to the app versions that are on github. They are pretty small right now. Just to demo that the code is the same, here is the JavaScript and CSS for each: gisWeb // scalebar Begin
var scalebar = new Scalebar({
map: map,
scalebarUnit: "dual"
});
// scalebar End /* Scalebar */
/* Used CSS Gradient Generator - http://www.colorzilla.com/gradient-editor/ */
.esriScalebarLine, .esriScalebarMetricLine
{
background: rgb(247,247,247); /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(5,5,5,1) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(247,247,247,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(5,5,5,1))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* IE10+ */
background: radial-gradient(ellipse at center, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#050505',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
border-width:thin;
}
.esriScalebarLabel, .esriScalebarLineLabel,.esriScalebarSecondNumber, .esriScaleLabelDiv
{
text-shadow:-1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
} gisMobile // scalebar Begin
var scalebar = new Scalebar({
map: map,
scalebarUnit: "dual"
});
// scalebar End /* Scalebar */
/* Used CSS Gradient Generator - http://www.colorzilla.com/gradient-editor/ */
.esriScalebarLine, .esriScalebarMetricLine
{
background: rgb(247,247,247); /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(5,5,5,1) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(247,247,247,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(5,5,5,1))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* IE10+ */
background: radial-gradient(ellipse at center, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#050505',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
border-width:thin;
}
.esriScalebarLabel, .esriScalebarLineLabel,.esriScalebarSecondNumber, .esriScaleLabelDiv
{
text-shadow:-1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
} gisTemplate // scalebar Begin
var scalebar = new Scalebar({
map: map,
scalebarUnit: "dual"
});
// scalebar End /* Scalebar */
/* Used CSS Gradient Generator - http://www.colorzilla.com/gradient-editor/ */
.esriScalebarLine, .esriScalebarMetricLine
{
background: rgb(247,247,247); /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(5,5,5,1) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(247,247,247,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(5,5,5,1))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* IE10+ */
background: radial-gradient(ellipse at center, rgba(247,247,247,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(5,5,5,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#050505',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
border-width:thin;
}
.esriScalebarLabel, .esriScalebarLineLabel,.esriScalebarSecondNumber, .esriScaleLabelDiv
{
text-shadow:-1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff;
} I'm stuck on this one. Any ideas?
... View more
01-09-2015
07:29 AM
|
0
|
1
|
4679
|
|
POST
|
It sounds like you are looking for something like this: https://developers.arcgis.com/javascript/jssamples/graphics_contextmenu.html
... View more
01-09-2015
07:16 AM
|
1
|
1
|
1222
|
|
POST
|
I think I might like to modify it if I could get mine to work. I tried NLiu's example but I was having problems when I tried it. Any ideas? I posted the question here: Why won't my Table on Contents Widget Work?
... View more
01-07-2015
12:43 PM
|
0
|
0
|
2491
|
|
POST
|
I can create a new thread if you like, but how did you create a table of contents?
... View more
01-07-2015
12:07 PM
|
0
|
2
|
2491
|
|
POST
|
Not sure but if you click on result again and then click map again, the map draws. So, it appears to affect just the first attempt.
... View more
01-06-2015
12:11 PM
|
0
|
3
|
1472
|
|
POST
|
Got it. I was just trying to follow the process and now I understand. Thanks for all your help.
... View more
01-02-2015
12:54 PM
|
1
|
0
|
917
|
|
POST
|
Our WKID is 3435 as defined in my setting of custom extent on startup. We use our own imagery and data. We are Illinois State Plane East. The app doesn't work when I put in 3435 for the SR, but it appears to with 4326. I updated the code to demonstrate. JS Bin - Collaborative JavaScript Debugging
... View more
01-02-2015
12:44 PM
|
0
|
2
|
917
|
|
POST
|
One last question. My projection is 3435. It doesn't work when I replace 4326 for this. Will this be an issue? It seems to be accurate though.
... View more
01-02-2015
12:34 PM
|
0
|
4
|
2729
|
|
POST
|
That worked. I just needed to tell my machine to trust the site that I am running on to stop the pop-up blocker and it's working well. Thanks!
... View more
01-02-2015
12:30 PM
|
0
|
0
|
2729
|
|
POST
|
I was thinking that but I wasn't sure what to write or where to look. I checked in the API for geometry service and still wasn't sure. Any idea what should be written?
... View more
01-02-2015
12:10 PM
|
0
|
0
|
2729
|
|
POST
|
That helped but I need to replace the line var theLatLongGeom = webMercatorUtils.webMercatorToGeographic(theLocation); I'm not using webMercator. What should that be changed to? Here is my updated code:JS Bin - Collaborative JavaScript Debugging
... View more
01-02-2015
12:00 PM
|
0
|
10
|
2729
|
|
POST
|
I am trying to get the current location on my. The example that was used originally was for Web Mercator. What do I need to change to get the currentLocation variable to open Google Streetview? Here is my code: JS Bin - Collaborative JavaScript Debugging It displays currentLocation as undefined.
... View more
01-02-2015
10:05 AM
|
0
|
13
|
7741
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-26-2015 12:31 PM | |
| 1 | 06-24-2015 06:06 AM | |
| 1 | 07-15-2015 12:34 PM | |
| 1 | 05-21-2015 02:27 PM | |
| 1 | 05-19-2015 11:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|