Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
naderio committed Sep 12, 2016
1 parent 5fbd2bd commit 8c5c0ce
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nativescript-google-maps-sdk-utils
nativescript-google-maps-utils
==================================

NativeScript Google Maps SDK utility library to support features such as marker clustering, heatmap, ...
Expand Down Expand Up @@ -26,15 +26,15 @@ iOS not implemented.
# Install

```
tns plugin add nativescript-google-maps-sdk-utils
tns plugin add nativescript-google-maps-utils
```

# Usage


```
var GoogleMaps = require('nativescript-google-maps-sdk');
var GoogleMapsUtils = require('nativescript-google-maps-sdk-utils');
var GoogleMapsUtils = require('nativescript-google-maps-utils');
function onMapReady(args) {
Expand All @@ -59,6 +59,6 @@ function onMapReady(args) {

import using either of

* `import GoogleMapsUtils = require("nativescript-google-maps-sdk-utils")`
* `import * as GoogleMapsUtils from "nativescript-google-maps-sdk-utils"`
* `import GoogleMapsUtils = require("nativescript-google-maps-utils")`
* `import * as GoogleMapsUtils from "nativescript-google-maps-utils"`

4 changes: 2 additions & 2 deletions demo/app/main-page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var vmModule = require("./main-view-model");
var observableModule = require("data/observable");
var GoogleMaps = require("nativescript-google-maps-sdk");
var GoogleMapsUtils = require("nativescript-google-maps-sdk-utils");
var GoogleMapsUtils = require("nativescript-google-maps-utils");
var Image = require("ui/image").Image;
var imageSource = require("image-source");
var Color = require("color").Color;
Expand Down Expand Up @@ -129,7 +129,7 @@ function onMapReady(args) {
return GoogleMaps.Position.positionFromLatLng(position[0], position[1]);
});

GoogleMapsUtils.enableDebug(require('./debug')('nativescript-google-maps-sdk-utils'));
GoogleMapsUtils.enableDebug(require('./debug')('nativescript-google-maps-utils'));

GoogleMapsUtils.setupHeatmap(mapView, positionSet);

Expand Down
6 changes: 3 additions & 3 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"version": "2.0.0"
},
"tns-android": {
"version": "2.0.0"
"version": "2.2.0"
}
},
"dependencies": {
"nativescript-google-maps-sdk": "*",
"nativescript-google-maps-sdk-utils": "file:..",
"nativescript-google-maps-utils": "file:..",
"tns-core-modules": "^2.0.0"
},
"devDependencies": {
Expand All @@ -20,4 +20,4 @@
"filewalker": "0.1.2",
"lazy": "1.0.11"
}
}
}
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

declare module "nativescript-google-maps-sdk-utils" {
declare module "nativescript-google-maps-utils" {

import { MapView, Position, Marker } from "nativescript-google-maps-sdk";

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-google-maps-sdk-utils",
"version": "0.0.1",
"name": "nativescript-google-maps-utils",
"version": "0.1.0",
"description": "NativeScript Google Maps SDK utility library to support features such as marker clustering, heatmap, ...",
"main": "index.js",
"nativescript": {
Expand All @@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/naderio/nativescript-google-maps-sdk-utils.git"
"url": "git+https://github.com/naderio/nativescript-google-maps-utils.git"
},
"keywords": [
"nativescript",
Expand All @@ -25,9 +25,9 @@
"author": "Nader Toukabri <contact@nader.tn>",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/naderio/nativescript-google-maps-sdk-utils/issues"
"url": "https://github.com/naderio/nativescript-google-maps-utils/issues"
},
"homepage": "https://github.com/naderio/nativescript-google-maps-sdk-utils#readme",
"homepage": "https://github.com/naderio/nativescript-google-maps-utils#readme",
"devDependencies": {
"tns-core-modules": "*",
"typescript": "^1.8.10"
Expand Down

0 comments on commit 8c5c0ce

Please sign in to comment.