|
POST
|
Yan, If you look at the documentation for a graphic object it is wanting an Object for the attributes property. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Graphic.html
... View more
09-14-2010
05:44 PM
|
0
|
0
|
1181
|
|
POST
|
Yan, The way that I suggested in the last post works perfectly but if you must build the attributes separately than here is how
var myGraphic:Graphic=new Graphic(new MapPoint(66669.794213,42498.544789));
myGraphic.symbol=infoSymbol1;
var attribs:Object = {myphone: "123"};
myGraphic.attributes=attribs;
myGraphicsLayer.add(myGraphic);
... View more
09-14-2010
05:27 PM
|
0
|
0
|
1181
|
|
POST
|
Yan, I think you had us all scratching our heads with this part how do i create infosymbol with C# Now that we know you really mean ActionScript code and not C# it a little easier to answer your question. Here is the proper syntax for your code:
private function addsymbol():void{
var myGraphic:Graphic=new Graphic(new MapPoint(66669.794213,42498.544789),infoSymbol1,{myphone: "123"});
myGraphicsLayer.add(myGraphic);
}
... View more
09-14-2010
04:53 PM
|
0
|
0
|
1181
|
|
POST
|
Michael, You can disable data tips by setting the showDataTip property to false.
... View more
09-14-2010
11:28 AM
|
0
|
0
|
989
|
|
POST
|
Sebastian, This is a known Flash Player 10.1 issue. Read more here http://forums.arcgis.com/threads/7281-API-2.0-Cursor-issue-with-map-context-menu
... View more
09-14-2010
09:04 AM
|
0
|
0
|
749
|
|
POST
|
Abu, Not is not a uncommon warning and is completely harmless just ignore it.
... View more
09-14-2010
08:22 AM
|
0
|
0
|
852
|
|
POST
|
Abu, Did you import mx.core.FlexGlobals; or try mx.core.FlexGlobals.topLevelApplication.width
... View more
09-14-2010
07:20 AM
|
0
|
0
|
852
|
|
POST
|
Jeremy, On the Logo Issue, I was able to add your logo to my project (unchanged) and have it run just fine showing your logo... I am really not sure where you are going wrong. On the overview map location question, to move the overview map widget you would have to rewrite a lot of code in the OverviewMapComponent.mxml to change the location. This is one widget that is really not meant to be moved.
... View more
09-14-2010
05:08 AM
|
0
|
0
|
2008
|
|
POST
|
Jeremy, This is a strange issue you are having... Can you attach the logo? Maybe there is some actual issue with it's encoding that Flex is having an issue with.
... View more
09-14-2010
04:33 AM
|
0
|
0
|
2008
|
|
POST
|
Frank, Do you know which version of the code you have? The alias feature was added in one of my latter versions. Probably best to just go get the latest version if you are not sure.
... View more
09-13-2010
12:05 PM
|
0
|
0
|
309
|
|
POST
|
Jeremy, Check in the bin-debug folder and see if assets/images/NEW_ITRE_LOGO1.png exists there.
... View more
09-13-2010
11:42 AM
|
0
|
0
|
2008
|
|
POST
|
Jeremy, Don't take this to hard; But are you thinking before you post questions...? Do you have that image on your system? It simply means you don't have NEW_ITRE_LOGO1.png, as that is a image that is specific to Joshua.
... View more
09-13-2010
11:37 AM
|
0
|
0
|
2008
|
|
POST
|
Naty, Took me a little while to find the time but here is the solution.
this.parentApplication.miniSearch.Building.selectedItem = this.parentApplication.miniSearch.dp.Building.Plan.(@dgn == "1pt.dgn").parent();
this.parentApplication.miniSearch.Plan.selectedItem = this.parentApplication.miniSearch.dp.Building.Plan.(@dgn == "1pt.dgn");
... View more
09-13-2010
08:44 AM
|
0
|
0
|
1141
|
|
POST
|
Don, If I recall correctly that is an error that the team is aware of and fixing.
... View more
09-13-2010
08:15 AM
|
0
|
0
|
1866
|
|
POST
|
Phillip, The MapSwitcher's XY is controlled by the config.xml <widget right="20" top="65" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/>
... View more
09-13-2010
05:54 AM
|
0
|
0
|
627
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|