Skip to content
No description, website, or topics provided.
TypeScript Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
platforms Fix index.d.ts May 1, 2019
typings Init May 1, 2019
.gitignore Init May 1, 2019
.npmignore Init May 1, 2019
.npmrc Init May 1, 2019
LICENSE.md Init May 1, 2019
README.md Fix index.d.ts May 1, 2019
index.android.ts Init May 1, 2019
index.d.ts Fix index.d.ts May 1, 2019
index.ios.ts Init May 1, 2019
package.json Fix index.d.ts May 1, 2019
references.d.ts Init May 1, 2019
tsconfig.json Init May 1, 2019

README.md

nativescript-google-maps-utils

Improved version

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-ns5

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-ns5")
  • import * as GoogleMapsUtils from "nativescript-google-maps-utils-ns5"
You can’t perform that action at this time.