Google Maps
OverviewOfficial Website
Google maps library allows you to use the potential of Google Maps in a simple way. No more extensive documentation or large amount of code.
Javascript
<!-- google maps api -->
<script src="https://maps.google.com/maps/api/js?key=AIzaSyCtSAR45TFgZjOs4nBFFZnII-6mMHLfSYI"></script>
<!-- gmaps plugins -->
<script src="{{ URL::asset('build/libs/gmaps/gmaps.min.js') }}"></script>
Initjs (Custom js)
<!-- gmaps init -->
<script src="{{ URL::asset('build/js/pages/gmaps.init.js') }}"></script>
Add Package
npm i gmaps --save
Remove Package
npm uninstall gmaps
Or you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Markers |
|
Overlays |
|
Street View Panoramas |
|
Map Types |
|