Implementing provider

21 views
Skip to first unread message

prancius

unread,
Jul 11, 2010, 5:14:42 AM7/11/10
to UMapper
Hello,

Our company have an http server where images saved as (url example)

http://..../map/_alllayers/L03/R0000003b/C00000053.png

Any ideas how i can i use it via umap?

Thank you
Pranas

Andrei

unread,
Jul 12, 2010, 11:37:22 AM7/12/10
to UMapper
It might be the easiest to implement XMLProvider -
http://www.umapper.com/content/docs/api/umap_as3/

Pranas Slezas

unread,
Jul 13, 2010, 4:09:20 AM7/13/10
to uma...@googlegroups.com
Maybe there is some samples or examples? To do it via API would be hard.

Regards,
Pranas

> --
> You received this message because you are subscribed to the Google Groups
> "UMapper" group.
> To post to this group, send email to uma...@googlegroups.com.
> To unsubscribe from this group, send email to
> umapper+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/umapper?hl=en.
>

Andrei

unread,
Jul 13, 2010, 4:22:03 PM7/13/10
to UMapper
Here you go:

import com.afcomponents.umap.core.UMap;
import com.afcomponents.umap.providers.*;

var map = new UMap();

var xmlProvider = new XMLProvider(false,"http://umap.s3.amazonaws.com/
assets/xml/MicrosoftSettings.xml");
map.setProvider(xmlProvider);

addChild(map);
Reply all
Reply to author
Forward
0 new messages