[mapguide-users] gain access to mapFrame divs for javascript drawing?

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Sat Jun 28 11:02:15 EDT 2008


What have you tried to do?

If you look at the "ajaxmappane.templ" you can see how the mapFrame is 
constructed.
It is actually a table, so you may want the item "map" (a cell) or the 
item "mapSpace" (a div).

As long as you taskpane file and the mapframe is served from the same 
server, there should be no problems.

Regards, Kenneth Skovhede, GEOGRAF A/S



Jonathan Manafi skrev:
> Has anyone ever tried this or have any suggestions?
>
>
> J Manafi wrote:
>> Does anyone know how to gain access to divs in the mapFrame from a 
>> taskPane php file? I am trying to use the jsGraphics library to draw 
>> on top of the map, but I cannot gain access to any div for drawing. I 
>> am able to have my mouse movements tracked within the map, but I am 
>> currently restricted to drawing within the taskPane.
>>
>> Has anyone else ever tried this?
>> ------------------------------------------------------------------------
>> View this message in context: gain access to mapFrame divs for 
>> javascript drawing? 
>> <http://www.nabble.com/gain-access-to-mapFrame-divs-for-javascript-drawing--tp18098792p18098792.html>
>> Sent from the MapGuide Users mailing list archive 
>> <http://www.nabble.com/MapGuide-Users-f14845.html> at Nabble.com.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080628/723bb1ca/attachment.html


More information about the mapguide-users mailing list