|
POST
|
Are you specifying a valid bing maps key for the BasemapGallery? var basemapGallery = new esri.dijit.BasemapGallery({
showArcGISBasemaps: true,
bingMapsKey:'Enter Bing Maps Key Here',
map: map
}, "basemapGallery"); Hi Kelly, In my case I'm using the above syntax (not the basemap gallery widget) and Bing Maps is shown when the API is 2.5. When I change the API to 2.6 (with no other changes) Bing Maps is not shown (regardless of the scale). Firebug doesn't show any calls (failed or otherwise) out to the Bing Maps service. If I revert to 2.5, Bing Maps shows and Firebug reports a bunch of calls to http://t1.tiles.virtualearth.net/tiles/h311203.jpeg etc. I'm testing on an internal build of http://atlas.nsw.gov.au/public/nsw/home/map/base.html - unfortunately I don't have an externally accessible URL for the dev build. I'll keep playing around with it and will let you know of any progress. Cheers, Steve
... View more
12-15-2011
12:41 PM
|
0
|
0
|
1546
|
|
POST
|
Anyone - have any suggestions or workarounds (besides not using feature layer). Yeah - don't use IE. Just kidding - I've seen this before, too. I'm not an expert on this, but I think it's due to the way that IE renders features (it uses VML since SVG is not supported). Ensure that you're serving the smallest possible features by using the maxAllowableOffset parameter - see the excellent blog post here regarding this. Good luck, Steve
... View more
12-14-2011
06:17 PM
|
0
|
0
|
1707
|
|
POST
|
Our sample to add a bing layer works: http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ve/ve_layer.html Post more code to repro? Yeah I saw that sample was working. My code is pretty convoluted so I'll do some internal debugging first. When you updated the samples, did you simply find/replace 2.5 with 2.6 in the Bing sample? Thanks, Steve
... View more
12-14-2011
01:01 PM
|
0
|
0
|
2011
|
|
POST
|
I have a page which works correctly using v2.5 of the API. If I replace the API version with "2.6" in the lines: <link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.6/js/dojo/dijit/themes/claro/claro.css">
<script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.6"></script> the map loads correctly, and my FeatureLayers and DynamicLayers are displayed - but the Bing maps backdrop is missing. If I revert to 2.5 in these two lines, Bing maps appears. Any clues? Thanks, Steve
... View more
12-14-2011
12:38 PM
|
0
|
22
|
4601
|
|
POST
|
You dont have to reproject anything!!!!! Just change your data frame properties. The data can stay in its native projection. That's true, there's no need to change the dataset's projection (I just figured that for debugging purposes this would be the simplest approach). However, you may see a slight performance advantage if all of your datasets are already in the same coordinate system as the basemap, since there's no need for any on-the-fly reprojection. Good luck, Steve
... View more
12-13-2011
11:31 AM
|
0
|
0
|
1872
|
|
POST
|
when I load the map service into the JavaScript API using a basemap, my map for North Carolina shows up in Africa. Hi Jessica, If you're using Bing Maps as the basemap, it might help to project all of your data into WGS 1984 Web Mercator, which is found under > Projected Coordinate Systems > World. Try doing this with a separate copy of one layer, and physically changing the projection (eg, add it to a data frame, change the projection to WGS 1984 Web Mercator, export to a new shapefile, and choose to use the coordinate system of the data frame). Does this new layer appear in the correct position over the Bing basemap? Steve
... View more
12-12-2011
01:43 PM
|
0
|
0
|
1872
|
|
POST
|
see http://forums.arcgis.com/threads/41685-Code-Assist-plugin-for-ArcGIS-JavaScript-API-2.5-not-available...?p=141733#post141733 where Kelly said: Unfortunately we do not have a Code Assist plug-in for any version of the API that works with Aptana Studio 3. At version 3, Aptana changed the way Code Assist works and there have been some technical challenges with building Code Assist for version 3. We are working to resolve these issues and hope to have an update soon.
... View more
12-11-2011
01:34 PM
|
0
|
0
|
616
|
|
POST
|
I was thinking of using the Geolocation API to capture points every 20 seconds or so and then push that to a model on a server, which would then convert it to a line and make it available as a map service Rather than pushing it to the server to create the line, you may be able to edit the line on the client, using the Editing Widget. This should be faster as you're not relying on communication between the client and server. Steve
... View more
12-11-2011
01:25 PM
|
0
|
0
|
531
|
|
POST
|
A starting tip is to set a listener for the onExtentChange event on the first map. When this extent changes, update the second map's extent to match the first map's extent. Repeat in the reverse order so the second map updates the first map. You might run into some problems with recursive/repeated calling of these events, where map 1 calls map 2, which then calls map 1 again repeatedly - you may need to disable the listeners temporarily while updating each map's extent.
... View more
12-11-2011
12:23 PM
|
0
|
0
|
777
|
|
POST
|
I hadn't noticed that - looks great. Looking forward to seeing it in the API
... View more
12-08-2011
06:14 PM
|
0
|
0
|
1016
|
|
POST
|
Hi Matthew, That's a geoprocessing service, to try looking at some geoprocessing samples or the Geoprocessor Task help reference. (By the way, the easiest way to paste code is to use the # icon above, rather than using * characters to space it out.) Cheers, Steve
... View more
12-07-2011
07:51 PM
|
0
|
0
|
634
|
|
POST
|
Hi Kelly, Thanks for the follow-up. I ended up using the workaround above, but hopefully this will be useful information for someone else in the future. Steve
... View more
12-06-2011
12:43 PM
|
0
|
0
|
2288
|
|
POST
|
We have a Web Application using ArcGIS Javascript API. I would like to know if the Same API can be used for Mobile Applications. Has anyone tried using the API for mobile applications. Hi there, I have no idea about Sencha, but for your first question take a look at the Compact Build of the JS API. Steve
... View more
12-05-2011
12:36 PM
|
0
|
0
|
1103
|
|
POST
|
Does it time out does it return an error? And are you able to get the same request to work from the services directory? Assuming you're talking about the sample at http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html it returns an error message when you place a point more than a few hundred metres from a facility: "code":400,"message":"Unable to complete operation.","details":["No \"Facilities\" found for \"Location 1\" in \"Incidents\". No solution found It looks like the sample server at http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility only contains a small road section around downtown San Francisco - it's designed to demonstrate just this Find Task sample only, I guess. Cheers, Steve
... View more
12-05-2011
12:31 PM
|
0
|
0
|
1178
|
|
POST
|
Hi Mike, I haven't tried this but from the documentation it seems you need to apply the same layer definition to the IdentifyParameters as you apply to the layer. Can you post the code showing how you're applying the definition to your layer? It should then be possible to recommend how to do it in the IdentifyParameters. Steve
... View more
12-04-2011
08:03 PM
|
0
|
0
|
1080
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2014 08:45 PM | |
| 1 | 03-15-2011 04:23 PM | |
| 1 | 10-18-2019 12:50 AM | |
| 3 | 01-22-2019 02:33 PM | |
| 1 | 09-26-2011 10:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-20-2022
12:19 AM
|