Skip to content

Releases: predixdesignsystem/px-map

v3.7.0

19 Feb 10:49
Compare
Choose a tag to compare

New features:

  • Tile layer components now support an opacity property. (thanks @karljaxon)

v3.6.1

07 Jan 05:58
Compare
Choose a tag to compare

Bug fixes

  • Fixed px-map-marker-group not updating when its data prop is updated with an empty features collection
  • Tweaked px-map-control-scale font-size so that it always fits within the scale element. Font-size can be configured with --px-map-scale-font-size CSS variable.

v3.6.0 Zoom clamping, bug fixes

31 Dec 04:41
Compare
Choose a tag to compare

New features:

  • Map will now clamp internal minZoom and maxZoom values based on the supported bounds of all children layers. This new behaviour can be suppressed by setting the unclamp-zoom-to-layers property on the px-map component

Bug fixes

  • Fixed regression in feature properties popup width from px-map-layer-geojson component
  • Fixed fit-to-markers prop not applying the correct zoom level when there's greater than 1 marker in map viewport

v3.5.1: Resolved popup width regression

27 Dec 03:39
Compare
Choose a tag to compare

Bug fixes

  • Fixed regression in popup width when defined in the properties of a px-map-marker-group component

v3.5.0: Configurable popup dimensions, disabled zoom button styling

19 Dec 23:28
Compare
Choose a tag to compare

New features:

  • Added maxWidth (Defaults to 400) and minWidth (Defaults to 300) properties to
    px-map-popup-info and px-map-popup-data. They are used to manually set max and
    min width of the popup container. (thanks @hanzge)

Bug fixes

  • Fixed missing disabled styling on control zoom buttons (thanks @hannav95)

Polymer 1.x/2.x hybrid element support

22 Dec 23:38
Compare
Choose a tag to compare

Dynamic colors

31 Oct 17:19
Compare
Choose a tag to compare

This is a major release and includes new features and breaking changes.

Important breaking changes

  • The px-map code is written in ES6 format, and in previous versions the code
    was shipped in transpiled format in the dist/ directory. This built code has
    been deleted. If you were relying on it you should switch over to use the
    px-map/px-map-*.html files directly instead of px-map/dist/px-map-*.html.
    If you need to transpile the px-map code for older browsers, you should do so
    as part of your app's build process. See the Transpile ES6 guide on the
    Predix Design System website

    for guidance on how to implement this in your build system.

New features

  • All px-map marker colors can now be set in a fully dynamic, customizable way.
    This allows developers to set up to 100 custom colors for markers, which is
    especially valuable for marker group visualizations with custom asset types.
    See the documentation in px-map-marker-* documentation pages for more info
    on using this new feature.

Design Refresh

24 Jul 23:16
Compare
Choose a tag to compare
  • update colors and icons for design refresh
  • update all icons to take svg icons instead of icon fonts

Add tile service information and attribution

18 Jul 20:57
Compare
Choose a tag to compare
  • Document choices for production tile services, add specific info on restrictions of OpenStreetMap tile service.
  • Add attribution for OpenStreetMap tile service to demos.

Add events to px-map-marker-group (#80)

09 May 19:15
Compare
Choose a tag to compare

New features

  • Adds tap events to px-map-marker-group that fire when clusters or any
    individual marker inside a cluster is tapped