Telerik Forums
Kendo UI for jQuery Forum
1 answer
403 views

Hey,

Wondering if it is possible to feed in a dataset, that would produce a heat map based on the values per state (or region) on the map of the USA.

I have read a few forums but have not found any solutions.

If you can let me know if this is possible and if there is any documentation I could follow that would be brilliant. 

Attached is what I want the outcome to look like.

Shane

Georgi Denchev
Telerik team
 answered on 29 Mar 2021
2 answers
165 views

Hi,

I have some doubts about coordinates.

How to get pixel cordinates of a lat, lng point?

I tried locationToView and locationToLayer without success ..

Here a script example:

 

$("#map").kendoMap({
            zoom: 3,
            center: [45, 10],
            layers: [{
                type: "tile",
                urlTemplate: "http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
                attribution: "© OpenStreetMap"
            }],
            markers: [{
                location: [45, 10],
                shape: "pinTarget"
            }],
            pan: function (e) {
                 
                console.log('What are now marker pixel coordinates?')
                 
            }
        });
Marcello
Top achievements
Rank 1
Iron
 answered on 11 Feb 2021
1 answer
62 views

Hi,

I try to describe the scenario that I would like to obtain.

A page contains a map linked to some provider(in example open street map).

Externally exist a "tool box" that contains some tools, in example "circle".

User can drag "circle into the map" so a circle appears, now user can move, resize it.

Various problems appears on drag/resize interaction with base pan events.

And I don't find documentation about how to add a svg layer where I can put shapes.

Ideas?

Thanks,

marc.

 

 

Marcello
Top achievements
Rank 1
Iron
 answered on 10 Feb 2021
1 answer
72 views
     Does Telerik support the OSM project, or should my company be considering a donation to Open Street Map?
Viktor Tachev
Telerik team
 answered on 02 Dec 2020
6 answers
134 views
We are using the Kendo Map control with the layer type as "Type(MapLayerType.Bing)" on a number of our pages.  Leadership is asking if the Kendo Map control is impacted by the "end of life for Bing Maps AJAX V7 Control (V7) and SOAP Web Services offerings".  I have researched the kendo site but have found no documentation on what Bing services the Kendo Map control uses when the type is equal to "MapLayerType.Bing". I don't think there is an impact, but I am looking for confirmation.
Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 16 Nov 2020
2 answers
210 views

Hi, Dev Team!

How get address by click at anything at map? (coordinates, country, city, street and house number).

Please, give some simple sample.

Preslav
Telerik team
 answered on 27 Oct 2020
8 answers
640 views
Hi,

Just wondering if anyone knows how I can catch a click event when a user clicks on a marker. There are click and shapeClick events but dosent seem to be a marker specific event.

Any suggestions greatly appreciated.

Cheers,
M
Preslav
Telerik team
 answered on 23 Oct 2020
1 answer
291 views

I have a map where I have markers that are shipments (individual markers) and loads which are a collection of markers joined by lines.  I can right click on a marker that is part of a load and get a menu with the option to remove shipment from load.  In the mode for the remove shipment from the load I am accessing the map layers.  In the removal process, I have to rebuild the map items. I rebuild the map layers by getting the datasource of the necessary layer, setting the data for the datasource to an empty array ([]) and then pushing in the new data to the datasource.

 

I have 2 shape layers and 1 marker layer.

The first time I right click and remove a shipment from a load it works perfectly.  I try it again ( the context menu shows and goes into the called function) and get the following error:

TypeError: Cannot read property 'layer' of undefined

In the called function,

e.target = span.k-marker.k-marker-pinpink.removeFromShipmentContextMenu

$(e.target) finds the element

But $(e.target).data("kendoMarker") returns undefined.

 

What am I missing in reload of the map objects?

 

Thanks

Jason

Alex Hajigeorgieva
Telerik team
 answered on 21 Sep 2020
3 answers
82 views

Hello,

Does the Kendo UI Map Widget support using the Menu Contextual Menu if clicked on an marker, any example would be very helpful , else just a pointer will do 

Thanks in advanced

Alex Hajigeorgieva
Telerik team
 answered on 14 Sep 2020
3 answers
257 views

I am adding markers for a few types of things.  Is it possible to add a context menu on only certain ones.

 

I have markers for orders and markers for orders in loads which are joined by lines.

 

I need to be able to have a context menu for the orders that are in a load to be able to remove the order from the load.

Jason
Top achievements
Rank 1
Veteran
 answered on 11 Sep 2020
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?