I created a kendo map and i'm using a openstreetmap, I also created a layer shape polygon with my coordinates but when I zoom, my shape disappears and I don't know why.
Maybe it is because my shape is not very large (about 1hectare).
I tried with more coordinates (about 100) but it is the same thing.
Should i change the map or just kendo can't zoom on little shape ?
This is my map with zoom 13 :
And with zoom 14, my shape disappears.
My code :
<script>
$("#map").kendoMap({
center: [48.471504, - 2.457585],
zoom: 13,
layers: [{
type: "tile",
urlTemplate: "http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
subdomains: ["a", "b", "c"]
}, {
extent: [
48.499924, - 2.459692,
48.45, -2.479
],
minZoom: 11,
type: "shape",
style: {
fill: {
opacity: 0
},
stroke: {
color: "red",
width: 2
}
},
dataSource: {
type: "geojson",
data: [{
"type": "Polygon",
"coordinates": [[ listCoordinates
]]
}]
}
}]
});
</script>
How can i zoom and see my shape ?