[pmwiki-users] Get gps coordinates with an adress

Petko Yotov 5ko at 5ko.fr
Fri Sep 1 11:45:49 CDT 2017


On 2017-08-30 18:43, Benjamin Grassineau wrote:
> I'm trying to get the coordinates of a place in a wiki pages from the
> adress.
> The user must give his adress with a form (fox).
> Do you know if there is a little script for doing this ?

Sorry, I don't.

> Or, eventually the adress could be taken with an interactive map (?) 
> but I
> don't know how to do this !!

There is an example with Ape, see these pages:

   http://www.pmwiki.org/wiki/PmWiki/PmWikiUsers-Map
   (when you move/zoom the map, the coordinates
    appear in a text field with id=ape_latlon.)

   http://www.pmwiki.org/wiki/Cookbook/Ape
   http://www.pmwiki.org/wiki/Site/LocalTemplates
   (search for "ape_latlon")

Petko

-- 
PmWeekly Blog  :  http://www.pmwiki.org/News
If you upgrade :  http://www.pmwiki.org/Upgrades





More information about the pmwiki-users mailing list