0.0.1 • Published 6 years ago

x-google-maps v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Built With Stencil

Google Maps Embed

A web component to embed a google maps in your webpage, made using Stenciljs.

Node Modules

Run npm install x-google-maps --save

Put a script tag similar to this <script src='node_modules/x-google-maps/dist/x-google-maps.js> in the head of your index.html Then you can use the element anywhere in your template, JSX, html etc.

##Appearance Demo

#In a stencil-starter app

Run npm install x-google-maps --save Add this import to your root component or root module: import 'x-google-maps';

Then you can use the anywhere in your template, JSX, html etc

Parameters

AttributeDefaultDescription
width600any numeric value in string
height300any numeric value in string
apiKey'Valid Google Maps API Key'Valid Key from Google
address"Xencov Software"Any valid address to show on map
zoom16zoom value for the map in string
mapTyperoadmaproadmap or satellite

#License Free to use and modify for personal and commercial purposes as well.