[mapguide-users] Measure tool...problem whit start in TaskPaneFrame.

alucas alucas at srtec.com
Fri Apr 20 09:07:53 EDT 2007


Sorry Maciej,

You need to allow pop-ups.

Thanks.
 
macieksk wrote:
> 
> Hi all!
> 
> In my aplication (MGOS 1.1+PHP) i use TaskFrame to show info about 
> clicked object on map....i call it by:
> 
> parent.ViewerFrame.GetTaskFrame().location.href ="some_page.php";
> 
> 
> BUT after load info about clicked object in TaskPaneFrame  when i try 
> load Measure tool in it i can't start Measure.
> 
> in Studio i  add Invoke Script to button in toolbar
> 
> ------------------
> function miarka()
> {
> GetTaskFrame().location.href = 
> 'http://127.0.0.1:8008/mapguide/mapviewerphp/measureui.php?PARTIAL=0&TOTAL=0&WIDTH=300&LOCALE=pl&SESSION='+parent.ViewerFrame.mapFrame.GetSessionId()+'&MAPNAME=mapname&TGT=1&POPUP=0&CMDINDEX=24';
> }
> miarka();
> ------------------
> 
> i load Measure tool corect but can't start measure. when i press Clear 
> or Stop in Measure tool i get error
> ---
> GetParent().ForwardMouseDown is not a function
> [Break on this error] GetParent().ForwardMouseDown(document, e);
> ---
> 
> 
> 
> So guestion is how sould i call or load this Measure Tool in
> TaskPaneFrame.
> 
> 
> 
> -- 
> Maciej Skórczewski
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Measure-tool...problem-whit-start-in-TaskPaneFrame.-tf3613255s16610.html#a10101609
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list