|
POST
|
Think of it this way. Say you've set the extent so the X difference is 100,000 units. You've set the size of your map to be 1 unit wide, which makes the scale of your displayed map 1:100,000. If the tiled layer is set up with the Web mercator standard levels of detail at 1:144,447.638572 and 1:72,223.819286, the extent of the map will have to change to fit one of those scale. When you're using tiled layers, you cannot set arbitary scales, but have to use the pre-determined scales. If you're using only dynamic layers, you can set any scale you'd like.
... View more
04-07-2011
09:31 AM
|
0
|
0
|
3266
|
|
POST
|
The ArcGIS Viewer for Flex forum has been set up for your FlexViewer questions.
... View more
04-07-2011
07:02 AM
|
0
|
0
|
935
|
|
POST
|
Hi Daniel, I guess I'm not understanding your issue. If I just open the form using MyForm.Show(), then it appears in front of the ArcMap window. If I click on ArcMap, then the ArcMap window will move in front of the form. I can click on the form in the Taskbar to bring it back in front of ArcMap. I work in NOS in the Biogeography Branch. I think we might have crossed paths in working with data in the Gulf of Maine.
... View more
04-06-2011
11:37 AM
|
0
|
0
|
331
|
|
POST
|
Here's an example. First is the Window Wrapper class
Public Class Win32HWNDWrapper
Implements System.Windows.Forms.IWin32Window
Private _hwnd As System.IntPtr
Public ReadOnly Property Handle As System.IntPtr Implements System.Windows.Forms.IWin32Window.Handle
Get
Return _hwnd
End Get
End Property
Public Sub New(ByVal Handle As System.IntPtr)
_hwnd = Handle
End Sub
End Class
and the code to open a form
MyForm.Show(New Win32HWNDWrapper(m_application.hWnd))
... View more
04-06-2011
10:10 AM
|
0
|
0
|
2143
|
|
POST
|
The TimeSliderSkin (along with many other skins) are distributed with the version 2.x of the API. The skin is located in ArcGIS_Flex\skins\src\com\esri\ags\skins
... View more
04-06-2011
06:07 AM
|
0
|
0
|
935
|
|
POST
|
This is more of an issue with resolution of the basemaps you're using and the size of their tiles. Tiled map services will show the data at a specific scale, which is dependent on the size of your map. If the extent you've designated doesn't match the tiled service's scale, I believe it zooms in to a smaller extent. You'll be able to have the precise extent when using a dynamic service, but tiles services are a bit more finicky.
... View more
04-04-2011
08:04 AM
|
0
|
0
|
3266
|
|
POST
|
This makes me wonder if the menu's OnDemand also needs to be set.
... View more
03-31-2011
09:26 AM
|
0
|
0
|
1169
|
|
POST
|
Have you added the OnDemand attribute to the button in the Config.esriaddinx file? See the help for more information about Delay loading
... View more
03-31-2011
07:27 AM
|
0
|
0
|
1169
|
|
POST
|
This is the code that disables a command button if ArcMap is in Layout mode. Don't forget to also make the changes to the Config.esriaddinx file discussed here to make the button enabled or disabled on startup.
Protected Overrides Sub OnUpdate()
'Enabled = My.ArcMap.Application IsNot Nothing
If TypeOf pMxDoc.ActiveView Is ESRI.ArcGIS.Carto.IPageLayout Then
Enabled = False
ElseIf TypeOf pMxDoc.ActiveView Is ESRI.ArcGIS.Carto.IMap Then
Enabled = True
End If
End Sub
... View more
03-31-2011
05:33 AM
|
0
|
0
|
1370
|
|
POST
|
You can find the older versions of the Flash Debug player here
... View more
03-28-2011
09:53 AM
|
0
|
0
|
736
|
|
POST
|
Take a look at Mansour Raad's blog on constraining the extent
... View more
03-23-2011
09:23 AM
|
0
|
0
|
553
|
|
POST
|
This is one of the tools that are only available with an ArcEditor or ArcInfo License. The help topics on the tools shows what license level are required to run them.
... View more
03-23-2011
09:17 AM
|
0
|
0
|
1060
|
|
POST
|
This would be more useful in the ArcGIS Viewer for Flex forum
... View more
03-23-2011
05:28 AM
|
0
|
0
|
2079
|
|
POST
|
Open the project properties window and check whether the option "Start external program" selection has been chosen in the Start Action section, and that it points to ArcMap.exe
... View more
03-22-2011
10:38 AM
|
0
|
0
|
3761
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2025 06:39 AM | |
| 1 | 05-01-2026 08:26 AM | |
| 1 | 04-10-2026 12:01 PM | |
| 1 | 04-13-2026 09:11 AM | |
| 1 | 10-11-2023 06:18 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|