Skip to content

Basic map viewer widget for WireCloud using the Google Maps API

Notifications You must be signed in to change notification settings

Wirecloud/map-viewer-widget

Repository files navigation

Map Viewer Widget

This widget provides a basic and simple map viewer using the Google Maps API (concretelly v3 of that API).

Build

Be sure to have installed Node.js and Bower in your system. For example, you can install it on Ubuntu and Debian running the following commands:

curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm install -g bower

Install other npm dependencies by running: (need root because some libraries use applications, check package.json before to be sure)

sudo npm install

In order to build this widget you need to download grunt:

sudo npm install -g grunt-cli

And now, you can use grunt:

grunt

If everything goes well, you will find a wgt file in the dist folder.

Documentation

Documentation about how to use this widget is available on the User Guide. Anyway, you can find general information about how to use widgets on the WireCloud's User Guide available on Read the Docs.

Copyright and License

Copyright (c) 2016 Vendor Licensed under the MIT license.