This is a migrated thread and some comments may be shown as answers.

How do I change the imagerySet of the bing maps layer at runtime?

1 Answer 154 Views
Map
This is a migrated thread and some comments may be shown as answers.
Andre
Top achievements
Rank 1
Andre asked on 21 Aug 2014, 09:46 PM
Hi,

I have a dropdown menu and I would like to switch between the available imagery sets at runtime (aerial, aerial with labels, birdseye) etc. based on the option selected by a user.

How would I access the imagerySet property while the application is running?

Thanks!

Andre

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 22 Aug 2014, 12:39 PM
Hello Andre,

Currently you can't change the imagerySet but I have fixed this issue and it will be included in the next official release. Also it will be included in the next internal build scheduled for next week.

When you update to one of these builds you will be able to:
// get bing layer
var bingLayer = $("#map").getKendoMap().layers[0];
bingLayer.imagerySet("road");

I have updated your telerik points.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Map
Asked by
Andre
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or