org_heigl / geolocation
Provides a form-element for locating a spot on the earth and providing Latitude/Longitude-values
Installs: 112
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 2
Language:HTML
Requires
- php: ^7.0
- zendframework/zend-escaper: ^2.5||^3.0
- zendframework/zend-filter: ^2.7
- zendframework/zend-form: ^2.5||^3.0
- zendframework/zend-i18n: ^2.5||^3.0
- zendframework/zend-inputfilter: ^2.5||3.0
- zendframework/zend-modulemanager: ^2.5||^3.0
- zendframework/zend-servicemanager: ^2.5||^3.0
- zendframework/zend-validator: ^2.5||^3.0
- zendframework/zend-view: ^2.5||^3.0
Requires (Dev)
- mockery/mockery: ^0.9
- phpunit/phpunit: ^6.0
- dev-master
- 2.0.1
- 2.0.0
- 1.2.0
- 1.1.6
- 1.1.5
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- dev-feature/adaptToZf3
- dev-hotfix/travis
- dev-hotfix/Error
- dev-hotfix/useExtendedLongitude
- dev-heiglandreas-patch-1
- dev-hotfix/changeMarkerHandlers
- dev-feature/addMapToStorage
- dev-feature/addEventTrigger
- dev-feature/Map
- dev-feature/addMap
This package is auto-updated.
Last update: 2024-10-13 06:04:43 UTC
README
Geolocation-FormElement
This module provides a form-element for Latitude/Longitude-values.
This element adds a map into your form where you can select any location on earth by simply clicking onto it on a map. The form-element is hidden but without JS it is still displayed so that you still can insert Latitude-Longitude values like so:
50.1234,8.1234
Later on this element will provides a search form so you can search for adresses.
Installation
The module is best installed using composer
composer require org_heigl/geolocation
Prerequisites
-
Add
Org_Heigl\Geolocation
to the list of your enabled modules.return [ 'modules' => [ … 'Org_Heigl\Contact', … ] ];
-
The content of the
public
-folder needs to be available to the public. When you use the AssetManager-Module that is already taken care of. -
This module also needs a working jQuery available. You will have to take care about that yourself!
Usage
After installation you should be able to add a form-element Geolocation
to your forms right away
like the following example:
$form = new Zend\Form(); $form->addElement('geolocation');