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="assets/libs/gmaps/gmaps.min.js"></script> //html file
<script src="{{ URL::asset('build/libs/gmaps/gmaps.min.js') }}"></script> // laravel file
Initjs (Custom js)
<!-- gmaps init -->
<script src="assets/js/pages/gmaps.init.js"></script> //html file
<script src="{{ URL::asset('build/js/pages/gmaps.init.js') }}"></script> // laravel file
Examples:
Title | Javascript |
---|---|
Markers |
|
Overlays |
|
Street View Panoramas |
|
Map Types |
|