POST
|
True, but the user get a slightly different user experience, and it's not subject to the basemapGallery add/remove behavior. For now, I'll use Fiddle to get the same result until the API is available.
... View more
11-19-2011
04:27 AM
|
1
|
0
|
2
|
POST
|
Hi, Does anybody knows how to author a web map with multiple layers as basemap, like the esri's "XX with Labels". Basically those maps have a base tile layer, and another reference layer. However, in the arcgis.com viewer, you can only add one tile layer as basemap. Also, those layers carries information like "isReference", but there is no way in the online viewer to set them. Is there an API or some sort to post a JSON config for the web map, so we can manually setup a webmap according to its JSON specs? "baseMap": {
"baseMapLayers": [
{
"opacity": 1,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",
"visibility": true
},
{
"isReference": true,
"opacity": 1,
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",
"visibility": true
}
],
"title": "Terrain with Labels"
},
Finally, what about the "tasks"? It's showing up in json response, but it seems to no way to define them in viewer yet. Thanks, Nianwei
... View more
11-18-2011
02:36 AM
|
0
|
2
|
248
|
POST
|
Hello group, Some of you may have been using the "GoogleMapsLayer" available in the code gallery to bring Google Maps in JSAPI app as a base map option: http://www.arcgis.com/home/item.html?id=a84d64b0d1404366a02da714ca59d61f . I'd like to share a few major enhancement available: Support Google "map style", with custom hue/lightness/saturation, and turn on/off features drawn, which offers unlimited flavor of base maps. i.e. "dynamic-thematic-tiled" base map. Provides 2 predefined styles: "Gray" and "Night" to use with operational layers on different scenarios, and any custom configuration. Street view with display of streets where images available, drag-drop pegman icon to switch between street view mode and map mode. Cross domain built for use online version, no download necessary to get started. Works with BasemapControl widget (http://www.arcgis.com/home/item.html?id=7032c5fce478455b848183e42fd5b256) to easily provide many base map options to your application. Feedback welcome. N.L.
... View more
10-27-2011
11:34 AM
|
0
|
1
|
303
|
POST
|
Hello group, Does anybody knows or willing to share if it is possible to let the mouse event reach to a div inside the layers element? That means event on individual layers such as tiled, dynamic layer or any customer layer. Right now, the DOM structure is like:
map_zoom_slider
map_infowindow
map_container
map_layers
...individual_layers
the slider and infor window can capture mouse events, however, event is not reaching further down to individual layers, they all stopped at map_container div and it's children cannot receive any events. I can somehow use an external control to temporarily lift my div on top of map_container, so it will receive events such as mouse down/move(drag) etc. It works but have potential side effects with event listeners because the DOM structure changed. I also temped messing with z-index, not work as wished. The actual use case is to allow google streetview pegman icon draggable when it is loaded into JSAPI as a div inside div map_layers. Thanks
... View more
10-10-2011
12:59 PM
|
0
|
0
|
229
|
POST
|
No it is not supported by Esri. It's just a lib in the code gallery, just like the old arcscripts stuff. Normally you need to dig out into the code if it is not work straight for you.
... View more
10-05-2011
11:38 AM
|
0
|
0
|
9
|
POST
|
It's possible. The script you use is a little old, I recommend you use the new version at http://www.arcgis.com/home/item.html?id=a84d64b0d1404366a02da714ca59d61f . When you drag the map, the graphics maybe moving in a different pace than the background google map, that's a limitation of how this lib is implemented due to Google license restriction regarding direct access to tiles. Due to unknown internals in Esri API, the style transformation is applied differently. However, when you stop pan (extentChange event), your graphics should be align correctly in the right place. I've attached a zipped html file with the new version of the lib, based on your page, all seem working as expected.
... View more
10-05-2011
11:37 AM
|
0
|
0
|
9
|
POST
|
try http://www.arcgis.com/home/item.html?id=9c43bdf76a23452ba1d95684f7cd76d8
... View more
08-08-2011
08:17 AM
|
0
|
0
|
37
|
POST
|
Steven, Try this: http://www.arcgis.com/home/item.html?id=9c43bdf76a23452ba1d95684f7cd76d8 Enjoy.
... View more
08-08-2011
08:09 AM
|
0
|
0
|
2
|
POST
|
Did that with the visibility set but still no dice. It's like I cannot load a local gmapslayer.js or gmapslayer_compiled.js. Again, exact same code as example but google maps no worky if I use a local copy of gmapslayer. Anyone else ever got a similar example to work as the example they have posted online? Check your web server (or ask your IT people to do it for you). It looks like your web server is not configed to serve js file.
... View more
02-21-2011
08:38 AM
|
0
|
0
|
6
|
POST
|
There is a bug in dealing with initial visibility in the code. It's been fixed in the latest revision so you should be able to use it with initially visible. See: http://gmaps-utility-gis.googlecode.com/svn/tags/gmapslayer/1.0a/examples/gmapslayer.html
... View more
02-18-2011
09:02 AM
|
0
|
0
|
21
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|