2017 © Pedro Peláez
 

typo3-flow-package map

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

image

mrf/map

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

  • Sunday, June 5, 2016
  • by klamparski
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Neos CMS Google Maps Plugin

Mrf.Map plugin adds easily customizable Google Map Node Type to your Neos CMS site., (*1)

Installation

To install the package use composer require command in the CLI:, (*2)

composer require mrf/map:1.*

Or just add it manually to your composer.json by adding following line in "require" section:, (*3)

"mrf/map": "1.*"

Then install the composer packages by command in the CLI:, (*4)

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):, (*5)

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):

```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), (*6)

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

The Versions

05/06 2016

dev-master

9999999-dev

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

  Sources   Download

GPL-3.0+

The Requires

 

flow neos map

05/06 2016

dev-develop

dev-develop

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

  Sources   Download

GPL-3.0+

The Requires

 

flow neos map

05/06 2016

1.0.1

1.0.1.0

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

  Sources   Download

GPL-3.0+

The Requires

 

flow neos map

05/06 2016

1.0.0

1.0.0.0

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

  Sources   Download

GPL-3.0+

The Requires

 

flow neos map