承接 mrf/map 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

mrf/map

Composer 安装命令:

composer require mrf/map

包简介

Neos CMS Google Map plugin, providing easily customizable map Node Type

README 文档

README

Mrf.Map plugin adds easily customizable Google Map Node Type to your Neos CMS site.

Installation

To install the package use composer require command in the CLI:

composer require mrf/map:1.*

Or just add it manually to your composer.json by adding following line in "require" section:

"mrf/map": "1.*"

Then install the composer packages by command in the CLI:

composer update

Extending map options

Mrf.Map package makes it easy to extend Google Map settings. If you would like to hardcode new settings globally for whole site, you just need to add few lines of TypoScript in your site package (e.g. Resources/Private/TypoScript/Root.ts2):

prototype(Mrf.Map:GoogleMap) {
	jsVars {
    	mapOptions {
        	streetViewControl = ${String.toBoolean('0')}
		}
	}
}

You can also easily make new setting configurable from the Neos inspector. To do it, you just need to extend the node type definition in your site package (e.g. Configuration/NodeTypes.yaml):

'Mrf.Map:GoogleMap':
  properties:
    streetViewControl:
      type: boolean
      defaultValue: TRUE
      ui:
        label: 'Allow street view control'
        inspector:
          group: 'settings'

And use it in your site TypoScript (e.g. Resources/Private/TypoScript/Root.ts2)

prototype(Mrf.Map:GoogleMap) {
	jsVars {
		mapOptions {
			streetViewControl = ${String.toBoolean(q(node).property('streetViewControl'))}
		}
	}
}

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2016-06-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固