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

Generated XML from createMarkers is incorrect #21

Open
130s opened this issue Apr 27, 2017 · 0 comments
Open

Generated XML from createMarkers is incorrect #21

130s opened this issue Apr 27, 2017 · 0 comments

Comments

@130s
Copy link
Member

130s commented Apr 27, 2017

From @zicez on August 3, 2016 19:31

The XML file created from using createMarker provides the wrong coordinate for the upper left corner of the tags.
For example, this tag bundle below is generated with x = -7.5, y = 7.5 as the coordinate for the center tag as the first tag.

markerdata_0_1_2_3_4

The resulting XML incorrectly has x = -7.5, y = 7.5 labeled as a corner but it's actually the center of the tag. Other than that, the other three corners have the correct coordinate.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<multimarker markers="5">
    <marker index="0" status="1">
        <corner x="-7.5" y="-7.5" z="0" />
        <corner x="0" y="-15" z="0" />
        <corner x="0" y="0" z="0" />
        <corner x="-15" y="0" z="0" />
    </marker>
    <marker index="1" status="1">
        <corner x="-7.5" y="14" z="0" />
        <corner x="0" y="6.5" z="0" />
        <corner x="0" y="21.5" z="0" />
        <corner x="-15" y="21.5" z="0" />
    </marker>
    <marker index="2" status="1">
        <corner x="-29" y="-7.5" z="0" />
        <corner x="-21.5" y="-15" z="0" />
        <corner x="-21.5" y="0" z="0" />
        <corner x="-36.5" y="0" z="0" />
    </marker>
    <marker index="3" status="1">
        <corner x="-7.5" y="-29" z="0" />
        <corner x="0" y="-36.5" z="0" />
        <corner x="0" y="-21.5" z="0" />
        <corner x="-15" y="-21.5" z="0" />
    </marker>
    <marker index="4" status="1">
        <corner x="14" y="-7.5" z="0" />
        <corner x="21.5" y="-15" z="0" />
        <corner x="21.5" y="0" z="0" />
        <corner x="6.5" y="0" z="0" />
    </marker>
</multimarker>

Copied from original issue: sniekum#87

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

No branches or pull requests

1 participant