Hello,
I would like to display PTV_TruckAttributes feature layer using Ajax maps but I cannot find the information how to do it. The code browser sample uses LeafLet maps and I am unable to convert it to Ajax maps.
Thank you in advance.
K.
Displaying feature Layers with Ajax Maps
-
- Posts: 12
- Joined: Fri Feb 19, 2016 10:56 am
-
- Posts: 13
- Joined: Tue May 13, 2014 3:28 pm
Re: Displaying feature Layers with Ajax Maps
Hello,
it should work like this:
"featurelayer" is a predefined data provider in AjaxMaps.
Regards,
Andreas
it should work like this:
Code: Select all
var manager = map.getServerDrawnObjectManager();
manager.addPOICategory("featurelayer", "PTV_TruckAttributes");
Regards,
Andreas
-
- Posts: 12
- Joined: Fri Feb 19, 2016 10:56 am
Re: Displaying feature Layers with Ajax Maps
Yes, it works. Thank you for your help.
Regards,
K.
Regards,
K.
- Bernd Welter
- Site Admin
- Posts: 2703
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Displaying feature Layers with Ajax Maps
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...