Hello

 

I’m working on project using Batik to view GIS info in applet. I’d like to 
get some info about element clicked by user. Could you give me some 
advise how to do this. I tried do use java script, but I don’t know how to 
send info from SVG/script to applet (call procedure in my applet when 
clicked on element).  The best for me would be if I could do something 
like this in SVG:

 

<svg id="svg1" width='400' height='400' viewBox="00 0 400 400"> 

<script type="text/ecmascript"> <![CDATA[

function elem_click(info) {

some code to call applet procedure 

}

]]>

</script>

<circle id ="cir1" onclick="elem_click('info about element')" 
style="fill:blue;stroke:navy;" cx="200" cy="200" r="100"/>

</svg>

 

I don&#8217;t know if is got way I&#8217;m thinking but I suspect that I have to 
customize Rhino Interpreter. Am I right?

 

Pleas send me some info. 

 

 

Thank You

 

Bartosz Celmer

 

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to