Select to view content in your preferred language

Feedback please - Render Terrain Widget

1541
11
06-03-2013 07:37 AM
by Anonymous User
Not applicable
Hi, I've created a widget to create a simulated terrain model of our LiDAR data.  Please, try it and let me know if the user interface - tilt, rotation and freeze is user friendly,  thanks!

gis.macombgov.org/flexviewer2

The widget is under "I want to..."  Render Terrain.
Tags (2)
0 Kudos
11 Replies
GISDev1
Deactivated User
Hi, I've created a widget to create a simulated terrain model of our LiDAR data.  Please, try it and let me know if the user interface - tilt, rotation and freeze is user friendly,  thanks!

gis.macombgov.org/flexviewer2

The widget is under "I want to..."  Render Terrain.


Locked up my Flash plugin on initial load.
Can you share the source code for your widget or application?
0 Kudos
by Anonymous User
Not applicable
Locked up my Flash plugin on initial load.
Can you share the source code for your widget or application?


Did the entire flexviewer lock your flash player or the widget?
What browser?  What type of device and OS?
I guess if you can't even look at it - feedback is impossible.
This widget is under development and I'm still making it.
0 Kudos
RhettZufelt
MVP Notable Contributor
I too would be interested in the source once you get it working correctly.

for now, on initial load:

TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::VSlider@192b20a1 to spark.components.supportClasses.SliderBase.
 at spark.components.supportClasses::SkinnableComponent/skin_propertyChangeHandler()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.core::UIComponent/dispatchEvent()
 at widgets.Navigation::NavigationSkin/set slider()
 at widgets.Navigation::NavigationSkin/_NavigationSkin_VSlider1_i()
 at mx.core::DeferredInstanceFromFunction/getInstance()
 at mx.states::AddItems/createInstance()
 at mx.states::AddItems/initialize()
 at mx.states::State/http://www.adobe.com/2006/flex/mx/internal::initialize()
 at mx.core::UIComponent/initializeState()
 at mx.core::UIComponent/commitCurrentState()
 at mx.core::UIComponent/commitProperties()
 at spark.components.supportClasses::GroupBase/commitProperties()
 at spark.components::Group/commitProperties()
 at mx.core::UIComponent/validateProperties()
 at mx.managers::LayoutManager/validateProperties()
 at mx.managers::LayoutManager/doPhasedInstantiation()
 at mx.managers::LayoutManager/doPhasedInstantiationCallback()
 at flash.utils::Timer/_timerDispatch()
 at flash.utils::Timer/tick()

TypeError: Error #1009: Cannot access a property or method of a null object reference.
 at widgets.Search::SearchWidget/clear()
 at widgets.Search::SearchWidget/widgetOpenedHandler()
 at widgets.Search::SearchWidget/__wTemplate_open()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.core::UIComponent/dispatchEvent()
 at com.esri.viewer::WidgetTemplate/set widgetState()
 at com.esri.viewer::BaseWidget/initWidgetTemplate()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.core::UIComponent/dispatchEvent()
 at mx.core::UIComponent/set initialized()
 at mx.managers::LayoutManager/doPhasedInstantiation()
 at mx.managers::LayoutManager/doPhasedInstantiationCallback()


Then, if I continue with the debugger window, once I click "Build Rendering", I get:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
 at widgets.App3d::App3dWidget/show3D()
 at widgets.App3d::App3dWidget/__showBtn_click()


Then it renders the layer..

R_

IE version 8.
0 Kudos
by Anonymous User
Not applicable
I too would be interested in the source once you get it working correctly.

for now, on initial load:


I think I fixed those errors.  How do I get to see those debug errors?  I never see them.  I'm compiling actionscript on a test webserver . . . debug mode has issues.  Sorry, I'm just a self taught programmer.  But, I do understand 3 dimensional math.
0 Kudos
GISDev1
Deactivated User
I think I fixed those errors.  How do I get to see those debug errors?  I never see them.  I'm compiling actionscript on a test webserver . . . debug mode has issues.  Sorry, I'm just a self taught programmer.  But, I do understand 3 dimensional math.

Yes you fixed the initial load issue. I'm checking out your app. now.

Just need to download the debug version of flash player for you browser, either IE or non-IE basically.

http://www.adobe.com/support/flashplayer/downloads.html

Check out the ones that say Content Debugger.


Keep in mind, there's a lot of sites out there with Flash issues so it does get a little annoying sometimes having the Debug version installed.
0 Kudos
MayJeff
Deactivated User
I am using IE.  When click on "Satellite" button I got following message.  Would be nice move all your hotizontal years button to middle so won't cover the satellite button.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at widgets.eMapSwitcher::MapSwitcherWidget/zoomEndHandler()
at widgets.eMapSwitcher::MapSwitcherWidget/widgetOpenedHandler()
at widgets.eMapSwitcher::MapSwitcherWidget/___MapSwitcherWidget_WidgetTemplate1_open()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at com.esri.viewer::WidgetTemplate/set widgetState()
at com.esri.viewer::BaseWidget/initWidgetTemplate()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback()
Thanks.
0 Kudos
by Anonymous User
Not applicable
Thanks for the feedback.  I think I've fixed most of the errors.  Now, as far as the http://gis.macombgov.org/flexviewer2

Using the "Render Terrain" widget - under "I want to ..."  

For feedback - as far as ease of use, turn on the Satellite 2010 photo - zoom into some buildings - hover over ball, freeze, rotate, exaggerate height, unfreeze, hover - any suggestions - does it work without much effort?   thanks again
0 Kudos
ronaldmcfarlane
Regular Contributor
Running Firefox 21.0 and latest flash (content debugger).  No problems performing all your requested activities.  Interesting widget, also like the dropdown list of activities.  Please post code when done.
0 Kudos
RhettZufelt
MVP Notable Contributor
Looking good.

If you build a rendering, then hide it, then build it again, you will get the TOC null values error.
If you pan/zoom some before re-rendering, the error does not pop up.
After this, in your Layers button, the spinner never stops "Loading Layers".

Other than that, nice job.  I not only like the renderer, but the layout in general.

R_
0 Kudos