Skip to content

sefasungur/Laravel-Google-Maps-Javascript-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Google Maps Javascript API

Google Maps Javascript API for working with Laravel.

This package support, simple map, markered map and find current location.

Installation

composer require sefasungur/google-maps-javascript-api

Usage

Simple Map

GMJA::getSimpleMap("[coords-lat,coords-lng]",[zoom],"[language]","[type]")

{!! GMJA::getSimpleMap("39.90907,32.75286",15,"en","roadmap") !!}

Markered Map

GMJA::getMap("[coords-lat,coords-lng]",[zoom],"[marker-title]","[marker-icon]","[language]","[type]")

{!! GMJA::getMap("39.90907,32.75286",15,"Test Map","map-icon.png","en","roadmap") !!}

Current Location Find

GMJA::getCurrentMap("[coords-lat,coords-lng]",[zoom],"[language]","[type]","[button-text]","[button-class]","[found-text]")

{!! GMJA::getCurrentMap("39.90907,32.75286",15,"en","roadmap","Find Me","gmja-button-text","Location Found") !!}

Map Class

All maps using "gmja-map" css class.

License

MIT

About

Google Maps Javascript API for working with Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published