nativescript-google-maps-utils-fork
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

nativescript-google-maps-utils-fork

NativeScript Google Maps SDK utility library to support features such as marker clustering, heatmap, ...

Andoird #1 Andoird #2 Andoird #3 Andoird #4

State

Android implemented.

iOS not implemented.

Dependencies

Install

tns plugin add nativescript-google-maps-utils-fork

Usage

var GoogleMaps = require('nativescript-google-maps-sdk');
var GoogleMapsUtils = require('nativescript-google-maps-utils-fork');


function onMapReady(args) {

  var mapView = args.object;

	var positionSet = [ /* GoogleMaps.Position... */ ];

	GoogleMapsUtils.setupHeatmap(mapView, positionSet);


	var markerSet = [ /* GoogleMaps.Marker... */ ];

	GoogleMapsUtils.setupMarkerCluster(mapView, makerSet);

}
...

Usage with TypeScript

import using either of

  • import GoogleMapsUtils = require("nativescript-google-maps-utils-fork")
  • import * as GoogleMapsUtils from "nativescript-google-maps-utils-fork"

Package Sidebar

Install

npm i nativescript-google-maps-utils-fork

Weekly Downloads

2

Version

0.1.0

License

License

Unpacked Size

4.64 kB

Total Files

7

Last publish

Collaborators

  • sedrak1987