Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28530

Android: Add heat-map support to "ti.map" module

    Details

    • Story Points:
      7
    • Sprint:
      2021 Sprint 14

      Description

      Summary:
      Add the ability to show a heat-map via the "ti.map" module.
      https://developers.google.com/maps/documentation/android-sdk/utility/heatmap

      Proposed API:
      MapView.addHeatMap(Array<MapPoint>)

      Example Usage 1:

      const Map = require('ti.map');
      const window = Ti.UI.createWindow();
      const mapView = Map.createView({
      	region: { latitude: -37.840935, longitude: 144.946457 }, // Melbourne
      });
      mapView.addHeatMap([
      	{ latitude: -37.1886, longitude: 145.708 },
      	{ latitude: -37.8361, longitude: 144.845 },
      	{ latitude: -38.4034, longitude: 144.192 },
      	{ latitude: -38.7597, longitude: 143.67 },
      	{ latitude: -36.9672, longitude: 141.083 },
      ]);
      window.add(mapView);
      window.open();
      

      Example Usage 2:

      const Map = require('ti.map');
      const window = Ti.UI.createWindow();
      const mapView = Map.createView({
      	region: { latitude: -37.840935, longitude: 144.946457 }, // Melbourne
      });
      mapView.addHeatMap([
      	[ 145.708, -37.1886 ],
      	[ 144.845, -37.8361 ],
      	[ 144.192, -38.4034 ],
      	[ 143.67, -38.7597 ],
      	[ 141.083, -36.9672 ],
      ]);
      window.add(mapView);
      window.open();
      

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Joshua Quick
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration