jgraves3gt / Blazor-GoogleMaps

Blazor implementation of Google Maps SDK
3 stars 1 forks source link

Possible mistyping on map.js line 80 #2

Open NightFrostVN opened 2 years ago

NightFrostVN commented 2 years ago

Hi jgraves. When i end draw a polyline on the map, i've got this error. image

In map.js, when i change AddPolylineFromDrawingManager to AddPolyLineFromDrawingManager, then it working fine.

dm.addListener("polylinecomplete", async (circle) => {
    var guid = await DNMapRef.invokeMethodAsync("AddPolylineFromDrawingManager"); //<- Here
    polyLines[guid] = circle;
    setPolyLineListeners(guid, MapId);
});

Anyway, thanks for this awesome project, it can run on .NET 6 too.