Skip to content

Commit

Permalink
v1.1.5 - Add missing MultiPolygon support
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Hawes committed Jan 10, 2025
1 parent ed73968 commit 705e51a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions dist/js/waymark-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -7883,6 +7883,7 @@ function Waymark_Map() {

// Polygon & Rectangle
case "Polygon":
case "MultiPolygon":
//Is this a retangle?
// if(feature.properties.rectangle) {}

Expand Down Expand Up @@ -8184,6 +8185,7 @@ function Waymark_Map() {
// Polygon & Rectangle

case "Polygon":
case "MultiPolygon":
//Build Waymark data
feature.properties = Waymark.parse_layer_data(
"shape",
Expand Down
2 changes: 1 addition & 1 deletion dist/js/waymark-js.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/public/dist/latest/js/waymark-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -7883,6 +7883,7 @@ function Waymark_Map() {

// Polygon & Rectangle
case "Polygon":
case "MultiPolygon":
//Is this a retangle?
// if(feature.properties.rectangle) {}

Expand Down Expand Up @@ -8184,6 +8185,7 @@ function Waymark_Map() {
// Polygon & Rectangle

case "Polygon":
case "MultiPolygon":
//Build Waymark data
feature.properties = Waymark.parse_layer_data(
"shape",
Expand Down
2 changes: 1 addition & 1 deletion docs/public/dist/latest/js/waymark-js.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Waymark JS",
"version": "1.1.4",
"version": "1.1.5",
"description": "An Interactive Geographical Information Editor for the Web.",
"author": "Joe Hawes",
"homepage": "https://www.waymark.dev/js/",
Expand Down
2 changes: 2 additions & 0 deletions src/js/Waymark_Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ function Waymark_Map() {

// Polygon & Rectangle
case "Polygon":
case "MultiPolygon":
//Is this a retangle?
// if(feature.properties.rectangle) {}

Expand Down Expand Up @@ -794,6 +795,7 @@ function Waymark_Map() {
// Polygon & Rectangle

case "Polygon":
case "MultiPolygon":
//Build Waymark data
feature.properties = Waymark.parse_layer_data(
"shape",
Expand Down

0 comments on commit 705e51a

Please sign in to comment.