Jefferson,If your basemap is projected in geographics then you can just have the values in your spreadsheet as decimal degrees and it will plot ok, this is how I originally developed the widget I only have the demo in web mercator to work with the esri base maps.RegardsAnthony
Jefferson,I think I understand what you are after now, you want to have your basemap in web Mercator projection then upload coordinates that are in decimal degrees. This is not achievable without modifying the source code as you will need to reproject each point before plotting. If you have the capability to adapt the source code this should be easy to do but it is not something I plan on doing as I have no requirement to do so.RegardsAnthony
Jefferson,If you add your image service as your first base map then your application will be in WGS84 as the projection of our first base map determines the projection of you application.You can also set the projection of your application using the wkid attribute in your map tag in the main config file, see:http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Main_configuration_file/01m300000018000000/RegardsAnthony
Great Anthony! It was the first basemap. A simple question... Now the points are correctly ploted.Thanks for your advice!
locateResult.content = "Number of Features: " + (tempData.length - 1).toString(); locateResult.icon = "assets/images/excel.png"; locateResult.layerID = String(layerNumber); ResultAC.addItem(locateResult); for(var i:int = 0;i<tempData.length;i++) //change from for(var i:int = 0;i<(tempData.length - 1);i++) //change to
All,With Roberts help an updated version for use with 3.0 has been uploaded to the resource center.The update also has a few additions and bug fixes:[INDENT]�?�Bug fixes for one more graphic being added to the graphics layer with 0,0 coordinates and the first point not having a click handler.�?�Esri popup used to display attributes.�?�Ability to specify a link field and alias.�?�Zoom to extent of features when feature panel clicked [/INDENT]http://www.arcgis.com/home/item.html?id=b8d2f6a9063e44669eddfdd2d32244e8RegardsAnthony
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.