Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

nativescript-google-maps-utils

0.1.3 • Public • Published

nativescript-google-maps-utils

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

Usage

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


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")
  • import * as GoogleMapsUtils from "nativescript-google-maps-utils"

install

npm i nativescript-google-maps-utils

Downloadsweekly downloads

18

version

0.1.3

license

Unlicense

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability