[ka-Map-users] example implementation of XMLoverlay
Pje
pjebra at gmail.com
Thu Feb 22 05:51:33 EST 2007
To add a overlay:
myXmlOverlay = new kaXmlOverlay( myKaMap, 250 );
myXmlOverlay.loadXml('PATH_TO_YOUR_XML');
The xml will looks like:
<?xml version="1.0" encoding="UTF-8"?>
<overlay>
<point x="-37" y="-27" id="p1">
<label>just a label</label>
<symbol shape="bullet" size="10" opacity="1" color="#FF0000" />
</point>
</overlay>
On 2/20/07, Dylan Beaudette <dylan.beaudette at gmail.com> wrote:
>
> Hi everyone,
>
> does there exist a simple example of just how one could go about adding a
> point feature overlay to a ka-map application? I have looked over the wiki
> but the XMLoverlay page is a little unclear.
>
> Essentially, I would like to add a red dot overlay when ever the ka-map
> application is launched with cps args in the URL.
>
> thanks for any insight!
>
> cheers,
>
> --
> Dylan Beaudette
> Soils and Biogeochemistry Graduate Group
> University of California at Davis
> 530.754.7341
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20070222/c6fc1956/attachment.html
More information about the ka-Map-users
mailing list