Skip to content

position is not updated when changed in MarkerMixin. #10

@osiloke

Description

@osiloke

This is due to the applyupdater not being able to compare two positions correctly. If you skip the equality check for just position updates or compare the lat and lng values, you will have a quick workaround i.e

if (updaterName == 'position' && (opt.lat() != prevOpt.lat() || opt.lng() != prevOpt.lng())){ 
      updater(opt, tag);
    } else if(!equals(opt, prevOpt)) {
      updater(opt, tag);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions