Skip to content

Extend px-map-marker-group component to support numbered marker

Compare
Choose a tag to compare
@joshsylvester joshsylvester released this 21 Aug 16:12
· 183 commits to master since this release
746cad3
  • Re-defined structure to support rendering numbered marker:
"marker-icon": {
  "icon-base": "custom-icon",
  "icon-type": "px-nav:unconfirmed", //also component defaults to px-nav:unconfirmed
  "icon-strokeColor": "blue",
  "icon-fillColor": "white",
  "icon-content": "1", //"icon-content": "px-nav:home" for icon marker
  "icon-options": { //currently it doesn't work, will be taken after/or part of UI-2363
    "strokeColor": "blue",
    "fillColor": "white",
  }
}
  • Icon-options is only valid when an "icon-content": "px-nav:home" and not a number.
  • Enhanced demo to illustrate the number markers with marker group.
  • Updated release notes.
  • Reference demo screenshots.

screen shot 2018-08-17 at 12 09 23 pm

screen shot 2018-08-17 at 1 12 45 pm