Hello,
I have reviewed the documentation here: http://docs.telerik.com/kendo-ui/browsers-support
And have ensured I have the correct DOCTYPE and IE-Edge tags implemented.
When opening your Demo here: http://demos.telerik.com/kendo-ui/map/index
IE11 reacts to a pinch on the map control by trying to shrink the page.
Chrome on the other hand will zoom the map out.
Thanks,
Aaron
Hello,
Is it possible to format the urlTemplate in such a way that we can connect a layer of type Tile to a Web Mapping Server?
The problem seems to be fulfilling the BBOX parameter that the WMS Standard expects.
If not, could you please suggest a suitable work-around one can implement to get the Layers from a WMS integrated?
Regards,
Aaron
I have followed the tutorials and have confirmed that I have the latest version on UI for ASP.NET MVC installed, but I still can't get the Marker Click Event to fire on the Map feature. Below is the code I am using, any thoughts?
@(Html.Kendo().Map()
.Name("map")
.Center(45.5095528, -91.9996693)
.Zoom(7)
.Layers(layers =>
{
layers.Add()
.Type(MapLayerType.Tile)
.UrlTemplate("http://tile2.opencyclemap.org/transport/#= zoom #/#= x #/#= y #.png")
.Subdomains("a", "b", "c")
.Attribution("© <a href='http://osm.org/copyright'>OpenStreetMap contributors</a>." +
"Tiles courtesy of <a href='http://www.opencyclemap.org/'>Andy Allan</a>");
layers.Add()
.Type(MapLayerType.Shape)
.DataSource(dataSource => dataSource
.Read(read => read.Action("HospitalLocations", "Home"))
)
.LocationField("Location")
.Shape(.Pin)
.TitleField("Title")
.ValueField("ID");
})
.Events(events => events.MarkerClick("onClick")))
We tried upgrading to the Q1 2015 SP1 release and noticed that when loading a Map control connecting to Bing Maps, the map layers show initially but are immediately replaced with blank images. We tested it on IE 10 and 11 and both seem to be affected. When running the Bing Map Layer demo, the map control appears to be behaving the same way too.
@(Html.Kendo().Map()
.Name("Bing")
.Center(53.4252981, 14.5526117)
.Zoom(12)
.Layers(layers =>
{
layers.Add()
.Type(MapLayerType.Bing)
.ImagerySet(MapLayersImagerySet.Road)
.Key("key");
layers.Add()
.Type(MapLayerType.Marker)
.DataSource(dataSource => dataSource
.Read(read => read.Action("_StoreLocations", "Home"))
)
.LocationField("LatLng")
.TitleField("Title");
layers.Add()
.Type(MapLayerType.Shape)
.DataSource(dataSource => dataSource
.Read(read => read.Action("_StoreLocations", "Home"))
)
.LocationField("LatLng")
.TitleField("Title");
})
)