Skip to content

Releases: ServiceMax-Engineering/px-map

v3.10.1 Remove object rest spread

28 Aug 18:39
437ae8e
Compare
Choose a tag to compare

Object rest spread is not supported in predix library. It needs to be removed

v3.10.0 Add customPopup key to layer geojson to allow custom popup

23 Aug 20:58
6cb661a
Compare
Choose a tag to compare
  • Add content property to px-map-popup-info
  • Add customPopup key to layer geojson to allow custom popup. See demo/px-map-layer-geojson-data.json.

v3.9.0 Add route highlight when user clicks on a particular route

23 Aug 20:57
6cb661a
Compare
Choose a tag to compare
  • Add route highlight when user clicks on a particular route

v3.8.0 Add margin property to popup data and popup info.

21 Aug 21:04
15521e6
Compare
Choose a tag to compare

Add margin(string) property to popup data and popup info. It can be either px or % based.

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

21 Aug 16:12
746cad3
Compare
Choose a tag to compare
  • 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

UI-2183 Popup info support html

08 Aug 22:53
df24bba
Compare
Choose a tag to compare

Add custom html support to px-map-popup-info.

Web component:

<px-map-popup-info>
  <h3>Custom Header</h3>
  <span>custom content custom content custom content custom content </span>
</px-map-popup-info>

React (ui-components-predix):

<MapPopupInfo>
  <h3>Custom Header</h3>
  <span>custom content custom content custom content custom content </span>
</MapPopupInfo>

NOTE:
If title OR description is provided, the children will be ignored.

<MapPopupInfo title="my-title">
  <p>custom content</p> // this will be ignored
</MapPopupInfo>

v3.5.2: MapMarkerCustom and FitToMarkers Bug fixes

03 Aug 19:01
764012f
Compare
Choose a tag to compare

Changes included in this release

UI-2240: Support to show numbered markers and home markers on map #3

  • Support to show numbered markers and home markers on map

UI-1205 fit-to-markers attribute of px-map does not work #4

  • Fix for leaflet getBoundsZoom & fitBounds with nozero padding does not work properly with a top down CRS.

v3.5.1: Merge pull request #2 from hanzge/popup-width-config

17 Jul 20:10
af1c384
Compare
Choose a tag to compare