Giter Site home page Giter Site logo

textformattergooglemaps's Introduction

ProcessWire Google Maps Textformatter

Looks for Google Maps URLs within paragraph (<p>...</p>) HTML tags and automatically converts them to embedded maps. Configurable options include embed type ("static" or "iframe"), API key, responsive embedding and Google Maps for Business settings.

How to install

See "How-To Install or Uninstall Modules" page at modules.processwire.com: http://modules.processwire.com/install-uninstall/.

How to use

Edit settings of any textarea field and enable "Google Maps" textformatter from Details tab. Recommended to be used with TinyMCE or CKEditor fields.

Notes about Google Maps for Business

Generated signature is based on specific URL and private cryptographic key.

In order to use your private key within this module you'll have to save it in module configuration settings, which are stored as plain text in your database. Google's documentation, on the other hand, explicitly states that this private key should not be "stored on any websites".

Use this feature at your own risk and only if you're fully aware of the risks involved!

Code used by this module for generating encoded signatures was adapted from Google's Extended URL signing gallery sample for PHP: http://gmaps-samples.googlecode.com/svn/trunk/urlsigning/UrlSigner.php-source.


Copyright (c) 2013, Teppo Koivula

textformattergooglemaps's People

Watchers

James Cloos avatar Andreas Becker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.