Telerik Forums
UI for ASP.NET MVC Forum
7 answers
387 views
I've been fidleing around and can't seem to find exemple of how to customize Marker Shape base on Data Type with Remote Data.

I does work fine with Hard Coded Markers but it seems like we Only can Bind Location and Title with Remote Data.

Is there Any way to do this or will I have to do this the dirty way, with a foreach loop with the model collection n razor view?
Jonathan
Top achievements
Rank 1
 answered on 22 Jul 2016
5 answers
133 views
Hi,

I would like to use the Map control to display an overlay of our building layout. That is, I have an image of our offices, cubes, floors, etc. and I would like to use that with the map control, including zooming in/out.

Is there an example of doing that or some documentation explaining the process?
T. Tsonev
Telerik team
 answered on 21 Jan 2016
1 answer
87 views
Are there any detailed useful map tutorials? I don't much care to show roads, but I would like to show sales data.  Color states different colors based on sales figures in those states.  Colored states showing percentages of coverage within any given year.  Actual useful maps that pertain to data in a database?
Joe
Top achievements
Rank 1
 answered on 31 Dec 2015
2 answers
129 views

Has anyone got any advice on the best way to get Lat and Long from a postcode?

 It needs to be embedded into a commercial application so I understand we may have to pay for a license from Google, Bing , etc.

 Anyone doing this?

Mark
Top achievements
Rank 1
 answered on 20 Aug 2015
8 answers
162 views
Hey, 

I'm displaying a map using GeoJson data and would like to display a tooltip when the user moves the mouse over a shape, is this possible?
I'm using the asp.net MVC wrapper and only managed to show tooltips for markers, not shapes.

Thanks!
T. Tsonev
Telerik team
 answered on 04 Aug 2015
1 answer
29 views

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

Atanas Georgiev
Telerik team
 answered on 22 Jul 2015
1 answer
177 views

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

T. Tsonev
Telerik team
 answered on 10 Jul 2015
1 answer
94 views

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("&copy; <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")))

Alexander Popov
Telerik team
 answered on 25 May 2015
3 answers
59 views

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.

T. Tsonev
Telerik team
 answered on 29 Apr 2015
3 answers
118 views
How can I designate route based on marker list and show route on map? At now I have only added markes.

Code form my View:
@(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");
    })
)

Best regards,
Michał
T. Tsonev
Telerik team
 answered on 31 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?