|
POST
|
I think what you want is to set the showAttribution property of the map object to false. There is also an attribution class for you to define your own attribution. I haven't personally done this.
... View more
01-31-2014
06:08 AM
|
0
|
0
|
3366
|
|
POST
|
Ugh. I forgot that I had posted about this months ago. Totally deflating when your own post is one of the only search results! I'm still having this problem using the 3.3 API. Anyone? Bueller?...
... View more
01-28-2014
09:51 AM
|
0
|
0
|
688
|
|
POST
|
I think the answer to this is "no" but I wanted to check before submitting it to the Ideas page. I'm using PrintTask to generate a vicinity map for a report that's generated on the fly when a user clicks a button. The report taks a feature, applies a buffer, and then peforms a deferredList of queries against several other feature layers. Anyways, I want the map that I generate to include the project but also the buffered extent as well (I also add it to the map as a graphic). It looks like my only recourse at the moment is to change the map extent with my code just before the printTask executes but that would freak out the user's screen and I would have to keep track of the map extent prior to the running of the report so that I could reset it once the printTask is completed. So- as the API stands right now, can I just pass an extent as a parameter for the map's area? Thanks! Steve
... View more
01-28-2014
07:09 AM
|
0
|
1
|
1429
|
|
POST
|
You don't have to change how your users enter the lat/long information. Just have your users enter the lat/long as DMS and then before creating a JS API location point, convert the DMS to decimal degrees using a method such as this. EDIT: Whoops. I now see that you say that your users can't offer this level of precision. That's going to be a problem because it's that precision that provides the true (or "better") accuracy of the point's location.
... View more
01-24-2014
01:41 PM
|
0
|
0
|
1243
|
|
POST
|
Right, and what I'm suggesting is that perhaps you can use a technique like what is discussed in this thread (and this one) to feed that additional information into your map's layout. This does assume that you're modifying or creating new map template MXDs and that within those MXDs, you have the dynamic text elements already created and you just reference the ID you associate with each. FWIW, this other thread implies that you can use "\n" to force a line feed in text you pass along.
... View more
01-21-2014
11:51 AM
|
0
|
0
|
1158
|
|
POST
|
I don't know if there is an elegant way of doing what you want but you could just have three dynamic text boxes (w/ids) that are aligned on top of each other like you want and then pass each value to its corresponding dynamic text element.
... View more
01-21-2014
10:29 AM
|
0
|
0
|
1158
|
|
POST
|
Jquery has a modal form which you might be able to use to collect your user's input. Dojo also has a Dialog Dijit that can serve the same purpose.
... View more
01-08-2014
01:06 PM
|
0
|
0
|
2470
|
|
POST
|
Given that IE-8 scores a whopping 43 out of a possible 555 points on http://html5test.com/ maybe that's the problem right there?
... View more
01-06-2014
09:15 AM
|
0
|
0
|
2671
|
|
POST
|
I think you want to use the IdentifyTask to query the raster (your choice- either the feet or meters service) and retrieve your value that way. Have a map OnClick event and then pass the geometry of the clicked location (make sure they are in Web Mercator projection) to the geometry property of the IdentifyParameters. I think this will return what you're looking for. Steve
... View more
12-19-2013
12:35 PM
|
0
|
0
|
4401
|
|
POST
|
In the code you just posted, you left out some key characters in a URL path: <script src="https://ajax.googleapis.com/ajax/libs/dojo/1.9.1/dojo/dojo.js"></script>
... View more
12-10-2013
11:42 AM
|
0
|
0
|
2804
|
|
POST
|
Have you also added in the reference to ESRI.CSS? [HTML]<link rel="stylesheet" href="http://js.arcgis.com/3.7/js/esri/css/esri.css">[/HTML] It's also required.
... View more
12-10-2013
10:57 AM
|
0
|
0
|
2804
|
|
POST
|
If they both "work" then that would lead me to believe that ESRI's dojo CSS styling is overwriting what's found in the default CSS dojo styling that comes when using the googleapi. I guess one way to verify this is examine the CSS properties of the same dojo pane in your googleapi dojo version and the ESRI hosted dojo version. In Firebug or Chrome's web developer tool, you should not only be able to see what CSS properties are being applied to the element, but also what styles would have applied to the element if they weren't being overridden. The CSS properties that are being overridden are usually shown with a strikethrough font style in the inspector. Another possibility is that the Dojo found in the googleapi path is more current than the Dojo that's bundled with v3.7 of the API. I get the sense that v3.8 is due to be released "soon" so you may also try updating your reference to that once it gets released and see if that solves your problem. Giood luck! Steve
... View more
12-10-2013
09:46 AM
|
0
|
0
|
2804
|
|
POST
|
This may not be ideal but how about creating four map divs (one for each ArcGIS Online webmap) and then use CSS or the esri.show() / esri.hide() methods to manage which web map is visible? You'll have to sync the map extents, of course, but that can be done using the extent-change event.
... View more
12-06-2013
08:43 AM
|
0
|
0
|
1517
|
|
POST
|
Good catch, Michael, thanks. Won't help you with MapImageLayers but I guess there is an option under the right circumstances.
... View more
12-05-2013
02:17 PM
|
0
|
0
|
4410
|
|
POST
|
I hope someone else can prove me wrong but I believe that this cannot be done using just the API. I really would like to add this to one of my applications but have yet to accomplish this. There might be, however, one way to do this but it's likely to be slow and clunky: publish a geoprocessing (GP) service to perform this task. In ArcToolbox, there is a "Get Cell Value" tool. You can find it under Data Management->Raster->Raster Properties. You could publish this tool as a GP and then pass it your coordinates (taken from the onClick event of the raster or more likely the map) and then present the results back to your user. I played briefly with this but wasn't successful but this was because the raster I wanted to query was a geo-registered image which has no projection information (I added it to my map as a MapImageLayer). I got bogged down in a two step process of trying to project the image first and then sending that result (along with my x,y) to the Get Cell Value tool. I've talked with the devs at the ESRI UC about this and they seemed surprised that raster layers didn't have an identify function. I'm hoping it gets added eventually but for now, I think the GP route may be your only option. Steve
... View more
12-05-2013
09:04 AM
|
0
|
0
|
4410
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 3 weeks ago | |
| 2 | 05-21-2026 01:51 PM | |
| 1 | 03-12-2026 01:43 PM | |
| 1 | 03-12-2026 08:41 AM |