|
POST
|
This is a common conversion and the API provides a utility function to take care of it for you: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_geometry.htm#geographicToWebMercator Pass the function an esri.geometry.Point constructed from your lat/lng and you'll get back a point you can plot on bing (or arcgis.com services...).
... View more
09-10-2010
08:32 AM
|
0
|
0
|
494
|
|
POST
|
Listen to your graphics layer's onMouseOver event: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/graphicslayer.htm#onMouseOver And then use map.setMapCursor to change the cursor: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/map.htm#setMapCursor
... View more
09-09-2010
09:48 AM
|
0
|
0
|
4739
|
|
POST
|
Can you be more specific? What's not working? What errors are you getting?
... View more
09-07-2010
10:05 AM
|
0
|
0
|
1007
|
|
POST
|
Check out this thread: http://forums.arcgis.com/threads/7793-Identify-How-to-show-Alias-filed-instead-of-Field-Name?p=26145
... View more
09-07-2010
09:41 AM
|
0
|
0
|
752
|
|
POST
|
I don't think it's possible. You would need to use your .png to symbolize your points in your map service, which isn't possible. AFAIK, you can only use .bmp and .emf's. Maybe post something in the general server discussion forum? Someone there might have a better idea.
... View more
09-03-2010
12:52 PM
|
0
|
0
|
709
|
|
POST
|
If you've only got two geometries, check out the geometry service's difference operation. I think it'll do what you want.
... View more
09-02-2010
06:21 PM
|
0
|
0
|
425
|
|
POST
|
Here's an app I did with a similar style: http://swingley.appspot.com/maps/eq
... View more
09-02-2010
09:18 AM
|
0
|
0
|
574
|
|
POST
|
Use a query task to get your points and then add them to a graphics layer using a picture marker symbol. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/graphicslayer.htm http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/picturemarkersymbol.htm
... View more
09-02-2010
09:17 AM
|
0
|
0
|
709
|
|
POST
|
I think you're almost there...make tb global and change your markup to something like this: <div id="map" class="tundra" style="width:1024px; height:512px; border:1px solid #000;"></div>
Distance: <span id="distance"></span><br />
<input type="button" value="Desactivar" onclick="tb.deactivate();map.showZoomSlider();" />
<input type="button" value="Line" onclick="tb.activate(esri.toolbars.Draw.LINE);map.hideZoomSlider();" /
... View more
08-31-2010
02:17 PM
|
0
|
0
|
2061
|
|
POST
|
Good deal, glad to help. The drawing toolbar sample has examples of using buttons to call activate/deactivate. All of the buttons to create graphics first call activate.
... View more
08-31-2010
01:57 PM
|
0
|
0
|
2061
|
|
POST
|
Glad to help...post back if you do something cool. There aren't many examples of esri JS API apps doing clustering.
... View more
08-31-2010
08:44 AM
|
0
|
0
|
1326
|
|
POST
|
I'm not sure if that will work, but one thing that is definitely wrong is your spatialReference property of initialExtent. If you want to use well known text, specify it as the wkt property on your spatial reference. The docs have an example: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/spatialreference.htm That being said, why not use the wkid? You can look yours up here: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/pcs.htm It looks like you're using 32615 so you can use this for initialExtent: new esri.geometry.Extent({
"xmin": 650.24376718739,
"ymin": 1515.85251773739,
"xmax": 807.862232212611,
"ymax": 1673.47098276261,
"spatialReference": { 'wkid': 32615 }
}); Again, I'm not sure if you can set your map's extent with an extent that doesn't use the map's spatial reference. If all else fails, you could use a geometry service to re-project your extent's spatial reference matches the map's.
... View more
08-31-2010
08:43 AM
|
0
|
0
|
499
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|