POST
|
I never really had any success getting the JSO to work. I'm sure it's fine to minimize the one page apps that in the samples, but I gave up after an hour or so. My colleague has posted about the build process we maintain, and there's a link to our template on github: ArcGIS JS API Compiler
... View more
09-11-2015
06:45 AM
|
0
|
0
|
613
|
POST
|
Use f12 to get the browser debug tools. Find the Debug tab and put a breakpoint in before your problem. You can step to the offending line and mouse-over to inspect. This is more or less the same in all the major browsers. You can also use the term debugger; in your code to force a breakpoint.
... View more
09-11-2015
06:40 AM
|
2
|
0
|
279
|
POST
|
I usually just add two symbols and adjust the yoffset value. I'm guessing the same approach was wrapped up nicely in the referenced github lib.
... View more
09-11-2015
06:37 AM
|
0
|
0
|
953
|
POST
|
Things to check, as mentioned above - links work when browsing directly - server white-listed in proxy.config I tend to write my urls without the protocol to match whatever protocol my page is using: url: "//my.server.url:6443/arcgis/rest/services/Geoprocess/ExportWebMap/GPServer/Export%20Web%20Map",
// or
define(["dojo/_base/window"], function(win){
// ...
url: win.global.location.protocol + "//my.server.url:6443/arcgis/rest/services/Geoprocess/ExportWebMap/GPServer/Export%20Web%20Map",
//... It may be a mixed-content problem: How to fix a website with blocked mixed content - Security | MDN
... View more
07-27-2015
04:42 AM
|
1
|
1
|
1874
|
POST
|
When you define your Sources array you can define a highlightSymbol Search | API Reference | ArcGIS API for JavaScript
... View more
07-23-2015
11:51 AM
|
0
|
3
|
848
|
POST
|
geocoder = new Search({
map: map,
minCharacters: 3,
activeSourceIndex: 'all'
}, "geocoder");
sources = geocoder.get("sources");
// Change your sources
...
geocoder.set("sources", sources);
... View more
07-23-2015
11:49 AM
|
1
|
1
|
376
|
POST
|
I don't see any samples or references in the API doc. Where is dstore put to use?
... View more
07-17-2015
10:47 AM
|
0
|
2
|
3177
|
POST
|
The best way to post an example. Thanks! Got busy, but I'll have a look.
... View more
07-17-2015
10:43 AM
|
0
|
0
|
751
|
POST
|
Just to clarify for me, this is for some data entry form and not for navigation. I assume you want to do a form with fields like addr_nbr, street_name, street_type, city, state, zip, etc., but use a filtering select on the street_name and street_type fields?
... View more
07-17-2015
07:14 AM
|
0
|
2
|
751
|
POST
|
I could have over 80,000 values for street addresses Without knowing your use, it sounds like you could consider using a geocoder and the new search dijit. Search | API Reference | ArcGIS API for JavaScript
... View more
07-17-2015
05:44 AM
|
2
|
4
|
751
|
POST
|
Something like what you're talking about, but not using the TOC dijit that Rob mentioned. Edit fiddle - JSFiddle
... View more
07-14-2015
06:32 AM
|
1
|
0
|
553
|
POST
|
Most of the samples use this meta tag in their HTML to prevent scaling: <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
... View more
07-13-2015
11:45 AM
|
1
|
0
|
1287
|
POST
|
You can configure the spatial reference of the geometries returned by the locators used by your search dijit: Locator | API Reference | ArcGIS API for JavaScript
... View more
07-13-2015
11:39 AM
|
1
|
1
|
1104
|
POST
|
I am not an ESRI lawyer, but there's nothing technical stopping you from using the JavaScript API with your own data. You'll need arcgis server to publish your own data as certain services, but you can use your own KMLs, CSVs, WMS/WMF services, etc. overlayed on ESRI, Bing, OpenStreetMap, etc. tiles basemaps.
... View more
07-10-2015
07:40 AM
|
4
|
3
|
766
|
POST
|
I may have missunderstood. Here's a sample of how to create the div and map from scratch after the page is loaded: Edit fiddle - JSFiddle
... View more
07-09-2015
04:44 AM
|
1
|
0
|
589
|
Title | Kudos | Posted |
---|---|---|
1 | 02-02-2015 11:22 AM | |
1 | 02-02-2015 11:33 AM | |
1 | 12-29-2014 04:59 AM | |
1 | 07-07-2015 05:08 AM | |
1 | 01-15-2015 10:44 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|