Canvas Map API: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
== Creating dialogs with embedded Canvas Maps ==
== Creating dialogs with embedded Canvas Maps ==


<syntaxhighlight lang="xml">
Add this to the "Nasal/open" tag of your XML dialog:
<syntaxhighlight lang="php">
</syntaxhighlight>
</syntaxhighlight>


Add this to a group in the dialog where you want the Canvas to appear
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight lang="xml">
Add this to the "Nasal/close" tag to clean up all resources automatically:
<syntaxhighlight lang="php">
</syntaxhighlight>
</syntaxhighlight>

Navigation menu