Hope this is an easy one. How do I set the size of the map? Say I want the map to be 300x300 px.
thanks,
Brian
1 Answer, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 06 Feb 2014, 01:40 PM
Hi Brian,
In order to achieve this you could set width / height to the <div> element from which the map is initialized. As an example:
<div id="map"></div>
<script>
$("#map").kendoMap({
//....
});
</script>
<style type="text/css">
#map {
width: 300px;
height: 300px;
}
</style>
Regards,
Iliana Nikolova
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).