Table of Contents

Google Map3 Plugin

Compatible with DokuWiki

2009-12-25c, 2010-11-07, 2011-05-26, Lemmings, Anteater, Rincewind, Angua

plugin Allow displays a Google map on wiki page

Last updated on
2011-05-21
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Security warning (please read plugin security guidelines): This extension will allow execution of scripts. It should only be used when you trust ALL editors, best suited in private personal wikis.

Similar to googlemaps, googlemaps3

Tagged with embed, google, maps, media

Installation

Description

This plug-in rebuild googlemaps plugin of Christopher Smith to use new GoogleMap javascript API v3.

New:

Plugin homepage: https://www.unix7.org/ict/googlemaps

Syntax

Syntax little differently than in googlemaps plugin:

<googlemap3 width="number" height="number" lat="number" lng="number">
latitude, longtitude, short signature; long desctiption
latitude, longtitude, short signature; long desctiption with {{:some:image.jpg?300|with image}} and [[:page:link| link to page]]
latitude, longtitude, short signature without longdescription;
latitude, longtitude,;longdescription without signature 
</googlemap3>

Long description for marker you must write in one string, without line break.

Use a semicolon as separator is dictated by the desire to use a comma in the signatures, for example, “Anchho Mountain, height 2696m.”

You can disable the coordinates helper:

<googlemap3 width="number" height="number" helper="off" >

By default it is enabled.

Configuration and Settings

Parameters

Changes from prevention googlemaps plugin marked bold.

Config URL

Default URL for downloading javascrypt API is

http://maps.google.com/maps/api/js?sensor=false

You may use concrete version API & enable sensor if you have it in target browser

http://maps.google.com/maps/api/js?v=3.3&sensor=true

For more information see Google Maps Javascript API V3 Basics

Known Bugs and Issues

Does not work on IE7

I'm running dokuwiki 'Adora Belle' (fresh default install). The map shows up in Firefox but not in IE7. The page status bar says 'Done, but with errors on page'. Details says 'Error: array 'googleMapArray' is undefined'

Discussion

Hello, can you please insert a Sample to test the installation? In my case only a line is shown :-( Me either…


FIXME A malicious content editor can inject javascript into the page even if $conf['htmlok'] is false (details emailed to Borodin/Chris 6th Jul 2013) - symcbean, 12 Jul 2013