[mapguide-users] Fusion mapFrame
foolfish
xjimmyshcn at sohu.com
Mon Jun 9 23:57:15 EDT 2008
correction:
window.top.Fusion.getWidgetById('Map').redraw() should be
window.top.Fusion.getWidgetById('Map').drawMap()
foolfish wrote:
>
> window.top.Fusion.getWidgetById('Map').redraw() can refresh the map ,but
> the Legend Pane doesn't be refreshed.
>
> window.top.Fusion.getWidgetById('Map').reloadMap() can refresh both map
> and legend panel,but it's too slow:(
>
> another method:
> parent.document.getElementById('Map').widget.aMaps[0].redraw();
>
>
> reference C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\MapGuide\MapGuideViewerApi.js
>
>
>
>
> Berdel, Brian wrote:
>>
>> I meant Viewer API...
>>
>>
>>
>> ________________________________
>>
>> From: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Berdel,
>> Brian
>> Sent: Monday, May 05, 2008 1:25 PM
>> To: MapGuide Users Mail List
>> Subject: RE: [mapguide-users] Fusion mapFrame
>>
>>
>>
>> Or...maybe a better question would be how would I go about refreshing a
>> map or using the web api from the task frame? Is it still done the same
>> way as the ajax viewer?
>>
>>
>>
>> ________________________________
>>
>> From: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Berdel,
>> Brian
>> Sent: Monday, May 05, 2008 12:58 PM
>> To: MapGuide Users Mail List
>> Subject: [mapguide-users] Fusion mapFrame
>>
>>
>>
>> How do you access the mapFrame from the TaskPane in Fusion? Tried
>> parent.parent.mapFrame, parent.mapFrame, mapFrame, etc... Keeps giving
>> me a javascript error telling me it is not an object
>>
>>
>>
>> Thanks,
>>
>>
>>
>> -Brian
>>
>>
>>
>>
>> _______________________________________________
>> 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/Fusion-mapFrame-tp17066107p17747345.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list