Hi,
In the absence of a dedicated spot for map questions I'll just post my question here:
If we look at the example code take from here:
@(Html.Kendo().Map().Name(
"map"
).Center(30.268107, -97.744821).Zoom(15).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.Marker).DataSource(dataSource => dataSource
.Read(read => read.Action(
"_StoreLocations"
,
"Map"
))).LocationField(
"LatLng"
).TitleField(
"Name"
);}))
My question is this - in the scenario of using Core Razor Pages we do not have a Controller Action as such.
Could I please if it is possible have a modified sample like the one above except to show using data-source using the new Razor Pages model?
Thanks for your time,
John