Skip to content

setLatLngs not working #91

@hamelraj89

Description

@hamelraj89

I try to update geometry already drawn on the map. but seems no error but it's not updating why?

 var layer = this.getMapObject(id);
  layer.setLatLngs([[144.32965127509, -38.135825028205],[144.32972099984, -38.135581614469],[144.3305381716, -38.135726427806],[ 144.33046844684, -38.135969841054]]);
  layer.transform.reset();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions