May 15, 2020
Posted by Ken

The FixedLayout works OK for me.  Did you set the label property?

Here is the data I sent:
{ "key": "marker1", "pos": {
        "type": "Point",
        "coordinates": [
            150,
            150
        ]
    }
}
{ "key": "marker2", "pos": {
        "type": "Point",
        "coordinates": [
            150,
            100
        ]
    }
}

Since the “key” property is different, I get two icons in my FixedLayout.  If the “key” property is the same then the icon will move and the old one goes away.

  • This reply was modified 4 years ago by Ken.
  • This reply was modified 4 years ago by Ken.
  • This reply was modified 4 years ago by Ken.
  • This reply was modified 4 years ago by Ken.
© Vantiq 2024 All rights reserved  •  Vantiq Corporation’s Privacy Policy and Cookie Policy