hiteshvala/google-map-marker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hiteshvala/google-map-marker

最新稳定版本:v1.4.0

Composer 安装命令:

composer require hiteshvala/google-map-marker

包简介

A Laravel package for Google Map API Collection. You can use all google map features in laravel.

README 文档

README

Hitesh Logo

Total Downloads Latest Stable Version Code Size

Install package

composer require hiteshvala/google-map-marker

Once the package is installed, you can use it in your Laravel application by creating a new instance of the GoogleMapMarker class and calling the getLocationDetails method with the latitude and longitude parameters.

use HiteshVala\GoogleMapMarker\GoogleMapMarker;

$apiKey = 'YOUR_GOOGLE_MAPS_API_KEY';

$marker = new GoogleMapMarker($apiKey);

$location = $marker->getLocationDetails($lat, $lng);

To get address details based on full address of location calling the getAddressDetails method with the address parameters.

$address = $marker->getAddressDetails($address);

To get a timezone based on location calling the getTimezone method with the latitude and longitude parameters, make sure your map key have timezone API access.

$timezone = $marker->getTimezone($lat, $lng);

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固