Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Scale On Map with Zoom to Constant Size on Map #348

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

klingbolt
Copy link
Contributor

Changed to be a default of 0 or false.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/proto_constant_size_on_map/input/pack/markers.bin.textproto._old	2024-09-08 01:36:16.649971115 +0000
+++ xml_converter/integration_tests/test_cases/proto_constant_size_on_map/input/pack/markers.bin.textproto._new	2024-09-08 01:36:16.657971155 +0000
@@ -0,0 +1,38 @@
+category {
+  name: "My Category"
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+    scale_on_map_with_zoom: true
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+    scale_on_map_with_zoom: true
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+  }
+  id: "(\350\314\006\302\223^\226"
+}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/proto_constant_size_on_map/output_proto/markers.bin.textproto._old	2024-09-08 01:36:16.665971194 +0000
+++ xml_converter/integration_tests/test_cases/proto_constant_size_on_map/output_proto/markers.bin.textproto._new	2024-09-08 01:36:16.673971234 +0000
@@ -0,0 +1,38 @@
+category {
+  name: "My Category"
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+    scale_on_map_with_zoom: true
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+    scale_on_map_with_zoom: true
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+  }
+  id: "(\350\314\006\302\223^\226"
+}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- xml_converter/integration_tests/test_cases/xml_scale_on_map_with_zoom/output_proto/markers.bin.textproto._old	2024-09-08 01:36:16.681971274 +0000
+++ xml_converter/integration_tests/test_cases/xml_scale_on_map_with_zoom/output_proto/markers.bin.textproto._new	2024-09-08 01:36:16.689971314 +0000
@@ -0,0 +1,38 @@
+category {
+  name: "My Category"
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+    scale_on_map_with_zoom: true
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+    scale_on_map_with_zoom: true
+  }
+  icon {
+    map_id: 50
+    position {
+      x: 169.81
+      y: 210.65
+      z: 215.83
+    }
+  }
+  id: "(\350\314\006\302\223^\226"
+}

@AsherGlick AsherGlick merged commit 4de28d3 into AsherGlick:xml_converter Sep 9, 2024
7 checks passed
@klingbolt klingbolt deleted the scale_on_map branch September 11, 2024 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants