Skip to content
Snippets Groups Projects
Commit 3d3615c1 authored by Lev Tsypin's avatar Lev Tsypin
Browse files

leaflet_create_feature() was using incorrect function call to generate a linestring.

parent 6472541f
No related branches found
Tags 7.x-1.0-beta1
No related merge requests found
......@@ -97,7 +97,7 @@
lFeature = Drupal.leaflet.create_point(feature);
break;
case 'linestring':
lFeature = Drupal.leaflet.linestring(feature);
lFeature = Drupal.leaflet.create_linestring(feature);
break;
case 'polygon':
lFeature = Drupal.leaflet.create_polygon(feature);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment