| Name | Google Maps Plugin |
|---|---|
| Vendor | Atlassian Software Systems (Website) |
| Authors | Mike Cannon-Brookes, Agnes Ro, Simon Mittag, Keith Brophy, Richard Wallace, Nathan Dwyer |
| Homepage | http://confluence.atlassian.com/display/CONFEXT/Google+Maps+Plugin |
| Issue Management | http://developer.atlassian.com/jira/browse/GMAP |
| Continuous Integration | n/a |
| Categories | Content Macros |
| Most Recent Version | 0.7.1 |
| Availability | Confluence v2.8.0 to v3.0.0_01 |
| State | Stable |
| Support |
|
| License | Freeware / Open Source (BSD) |
| Price | Free |
| Release Docs | http://confluence.atlassian.com/display/CONFEXT/Google+Maps+Plugin |
| Java API Docs | n/a |
| Download Source | http://svn.atlassian.com/fisheye/browse/public/contrib/confluence/gmaps-plugin/ |
| Download JAR | gmaps-confluence-plugin-0.7.1.jar |
Compatibility With Confluence
| Plugin Versions | 2.8 | 2.9 | 2.10 | 3.0 |
|---|---|---|---|---|
| 0.7.1 |
|
|
|
|
Description
A macro for including Google Maps of particular addresses within a page.
Installation
Upload this macro using the Plugin Manager.
| This plugin now accessable through the Confluence Repository Client. |
| Upgrading You must disable the plugin before uninstalling, and enable it after reinstalling - not doing so will result in an exception when registering the component. |
Macro parameters
| Parameter Name | Required | Possible Values | Default |
|---|---|---|---|
| name | any valid DOM id | ||
| width | |
700 | |
| height | |
500 | |
| style | any valid class name | |
|
| zoom | |
13 | |
| maptype | (map, satellite, hybrid, terrain)+ | map,satellite,hybrid | |
| displaymap | map | satellite | hybrid | terrain | map | |
| controls | none | auto | large | medium | small | auto (size calculated from width and height) | |
| mapscale | true | false | true | |
| maptypecontrol | true | false | true | |
| overview | true | false | false | |
| drag | true | false | true | |
| doubleclickzoom | true | false | true (only has an effect if drag is enabled) | |
| wheelzoom | true | false | false | |
| marker | true | false | true | |
| macro body | yes | the address to map | |
Macro body
The macros body can have any number of lines with these formats:
[place:] ([location=]<address>|<latlon> [| info=<info>]
directions: from= | to=
Examples
Map centered on a marker for San Francisco:
{gmap}
San Francisco
{gmap}
Map centered on San Jose with no marker
{gmap}
37.269135,-121.873398
{gmap}
Equivalent to the last one:
{gmap}
place:address=37.269135,-121.873398
{gmap}
With a info box if you click on the marker
{gmap}
San Francisco
{gmap}
Some cities:
{gmap:zoom=3}
Chicago
San Francisco
New York
Seattle
{gmap}
Alternately (centered on Nebraska, but with no marker):
{gmap:zoom=3|marker=false}
Nebraska
place:San Francisco|info=The City
place:address=New York|info=The big apple
place:address=Seattle|info=Cold, dark place
Chicago|info=Someplace in the middle
{gmap}
Some directions:
{gmap}
directions:from=24th and Mission SF CA|to=Geary and 20th SF CA
{gmap}
And...
{gmap}
16th and Mission SF CA|info=The heart of the mission
Alcatraz
18th and Missouri SF CA
directions:from=San Francisco|to=Napa, CA
1 Embarcadero San Francisco, CA|info=Slanted Door restaurant
{gmap}
Version History
| Version | Date | State | License | Price |
|
|
30 Oct 2008 | Stable | Freeware / Open Source (BSD) | Free |
|
|
16 Oct 2007 | Stable | Freeware / Open Source (BSD) | Free |
|
|
29 Jul 2007 | Stable | Freeware / Open Source (BSD) | Free |
|
|
18 Mar 2007 | Stable | Freeware / Open Source (BSD) | Free |
|
|
13 Mar 2007 | Stable | Freeware / Open Source (BSD) | Free |
|
|
06 Jul 2006 | Stable | Freeware / Open Source (BSD) | Free |
|
|
27 Feb 2006 | Stable | Freeware / Open Source (BSD) | Free |


Comments (100)
Mar 01, 2006
Guy Fraser says:
This plugin seems to fail for any address outside the USA I went to maps.googl...This plugin seems to fail for any address outside the USA
I went to maps.google.com, put in the address and it recommended a different (but correct) address - I then pasted that in to the macro body and the macro still failed to display the location.
Mar 01, 2006
Guy Fraser says:
Ah, you're using "geocoder.us" = USA only. Does anyone know of any other free g...Ah, you're using "geocoder.us" = USA only. Does anyone know of any other free geocoders?
Mar 01, 2006
Guy Fraser says:
Some hunting later... http://maps.google.com/maps?oi=map&output=js&q=A...Some hunting later...
You'll need an exact address and the results will be embedded within a load of JS - however, if the address is found you will see an @ sign near the end followed by the lat/long. Some regex'ing would likely be able to pull the lat/long or warn if the address was not found.
As for getting addresses outside the US, you have to be extremely specific - in short you'll have to put your address in to Google maps and see what it finds, then use the suggested address exactly as shown in order to find the geocode. Still, at least this would allow a much wider range of addresses to be located.
It would be useful if there was some level of caching in there too in order to reduce calls to the remote server.
I also found this API from Yahoo! but it seems to be US only:
http://developer.yahoo.net/maps/rest/V1/geocode.html
More searching and found a canadian geocoder:
http://geocoder.ca/?api=1
Ah, this one might do the trick...
http://emad.fano.us/blog/?p=277
Apr 29, 2006
Ruediger Jungbeck says:
If you take http://maps.google.com/maps?output=kml&q=ADDRESS_GOES_HERE ...If you take
http://maps.google.com/maps?output=kml&q=ADDRESS_GOES_HEREyou will get a nice looking (and easy to parse) XML file (which also works for Google Earth).
This will also work for international addresses (if specified correctly).
Apr 29, 2006
Guy Fraser says:
Just tried it and it worked first time - nice one! This will certainly be a much...Just tried it and it worked first time - nice one! This will certainly be a much better way to geocode the addresses in the gmap plugin than the current US-only way.
Oct 24, 2006
Christian Løverås says:
Where do I specify the geocoder?Where do I specify the geocoder?
Mar 02, 2006
Charles Miller says:
We should at least add a way to skip the geocoding step and provide an ICBM addr...We should at least add a way to skip the geocoding step and provide an ICBM address directly.
Mar 02, 2006
Guy Fraser says:
Perhaps a param of "dataType" = address (multiple addresses, one per line?) / ge...Perhaps a param of "dataType" = address (multiple addresses, one per line?) / geocode (affectionately known as ICBM) / nac (natural area code) / table (a table of addresses?)
Mar 02, 2006
Brendan Patterson says:
I botched my Google Map key for my site. How do I dump the first one I put in a ...I botched my Google Map key for my site. How do I dump the first one I put in a new one? That is without resorting to hacking of the database?
Mar 02, 2006
Brendan Patterson says:
Ah ha! So today I learned about bandan. The Google Maps key is being stored not ...Ah ha! So today I learned about bandan. The Google Maps key is being stored not via the ContentPropertyManager but via Bandana. This appears to be an XMLSerializer being used to store global / config type data for Confluence. This can be found at confluence-data-dir/config/confluence-global.bandana.xml
Once there the key is clearly marked and can be edited:
<entry> <string>ext.gmaps.api.key</string> <string>ABQIAAAAkmi-K3_H9t7UlmUGXJoB9xRQKQXmVp9WnuNec_QyhNoEciuvxxT6i8iiIkxW_-KGeEsYu_e2TafQJA</string> </entry>Everyone who has commented likely knows this, but it may save someone somewhere some time.
I also learned that your Google maps key is generated for http://www.site.com/somedir
then you're good to go for the rest of that server http://www.site.com/somedir/AAA http://www.site.com/somedir/BBB http://www.site.com/somedir/CCC
If you try to generate a key for http://www.site.com/somedir/AAA then your Google Map key won't work.
Mar 02, 2006
Mike Cannon-Brookes says:
For reference, if you set the key wrongly you can still reset it. Go to http://w...For reference, if you set the key wrongly you can still reset it. Go to http://www.yourserver.com/admin/plugins/gmaps/configure.action as an Administrator, and you can reset the key through the web interface.
(In Confluence 2.2, there are neat little 'Configure plugin' links which make all this work seamlessly)
Mar 28, 2006
Kurt Werle says:
I'm a bit confused as to what this does. Does it add a link that will open up a...I'm a bit confused as to what this does. Does it add a link that will open up a map, or does it include the map itself in the page? The examples show the use without the result!
'cause I want the former, not the latter.
Mar 28, 2006
Mike Cannon-Brookes says:
Kurt - the macro embeds a Google map (scrollable, zoomable etc) within the page ...Kurt - the macro embeds a Google map (scrollable, zoomable etc) within the page itself. There is no link right now to open up the map at maps.google.com but that could be added if you want one?
Mar 28, 2006
Kurt Werle says:
Yeah - have a bunch of addresses (local restaurants). Maps would be too big, bu...Yeah - have a bunch of addresses (local restaurants). Maps would be too big, but links would be great.
Mar 28, 2006
Guy Fraser says:
It might be worth making a {gmap-link} macro?It might be worth making a {gmap-link} macro?
Mar 28, 2006
Mike Cannon-Brookes says:
Kurt - if you just want a link, you can use a simple Confluence link? ie "The At...Kurt - if you just want a link, you can use a simple Confluence link? ie "The Atlassian SF office is here" Or am I misunderstanding what you want to do?
Mar 28, 2006
Guy Fraser says:
I'm guessing he wants something like: {gmap-link}address goes here{gmap-link} ...I'm guessing he wants something like:
{gmap-link}address goes here{gmap-link}That would automatically work out the URL thus leaving markup cleaner...?
Mar 28, 2006
Kurt Werle says:
Right. Which leaves the door open to popup maps on hover, link api changes, and...Right. Which leaves the door open to popup maps on hover, link api changes, and spiffy features I can't even imagine. Though something like
May 05, 2006
Peter Shaw says:
Just wanted to check if anyone else was seeing a failure of this plugin when usi...Just wanted to check if anyone else was seeing a failure of this plugin when using Internet Explorer (on PC) - only just noticed myself as I normally use FF (on both mac & PC). One of my colleagues (who's used the API before) seemed to think it was probably a bug in IE where the javascript has to be in a particular position on a page as mentioned here
Confluence v2.2-dr2 Build #510 (on Mac OS X 10.4.6), FF v1.5.03 on Mac & PC, IE v6.0.2900.2180 on Windows XP SP2
May 22, 2006
Christain Stovall says:
It crashes all the IEs around here too. Pity, because its a damn cool plugin.It crashes all the IEs around here too. Pity, because its a damn cool plugin.
Jul 06, 2006
Agnes Ro says:
The IE problem has been fixed in version 0.2The IE problem has been fixed in version 0.2
Jul 12, 2006
Steve Soskin says:
I can get the macro to work just fine in IE. Firefox however presents me with a...I can get the macro to work just fine in IE.
Firefox however presents me with a blank page.
Any clues?
Jul 12, 2006
Steve Soskin says:
Just as a PS - I can get the macro to work in FireFox if I use the IEtab extensi...Just as a PS - I can get the macro to work in FireFox if I use the IEtab extension for FireFox....
Jul 12, 2006
Agnes Ro says:
I have tried on two different machines using firefox (without the IEtab extensio...I have tried on two different machines using firefox (without the IEtab extension) and I don't seem to be having this problem... is anyone else also getting a blank page?
Jul 14, 2006
Steve Soskin says:
I've done further testing on FireFox on a linux machine as well as on a Mac with...I've done further testing on FireFox on a linux machine as well as on a Mac with the same blank page as a result. I also tried Netscape on a Mac - also a blank page.
Jul 14, 2006
Mike Cannon-Brookes says:
Steve - just tried here and it works fine. What exact version of Firefox are you...Steve - just tried here and it works fine. What exact version of Firefox are you using? what version of Confluence and the Google Maps macro? Tks, Mike
Jul 14, 2006
Steve Soskin says:
Hi Mike - I'm using Firefox 1.5.0.4 Confluence 2.2.5 and Goog...Hi Mike -
I'm using Firefox 1.5.0.4 Confluence 2.2.5 and Google Maps macro 0.2
thnx,
steve
Jul 14, 2006
David Peterson [CustomWare] says:
Could it be a problem with Flash? Does Google Maps work at all on your computer?...Could it be a problem with Flash? Does Google Maps work at all on your computer? Sounds weird...
David
Jul 21, 2006
Steve Soskin says:
Yes - Google Maps works fine on the computer in Firefox - just not from th...Yes - Google Maps works fine on the computer in Firefox - just not from the plugin. It's only the plugin - and its the same for all of our users......they can see the map in IE6 when in Confluence with the plugin....but the same page in Firefox (unless using IE tabs) renders a blank page.
Jul 21, 2006
Steve Soskin says:
Is it possible that our Confluence install is possibly bad? As I said - the map ...Is it possible that our Confluence install is possibly bad? As I said - the map renders fine in IE 6 and IE 7 and Firefox with IE Tab on a PC. We get a blank page in all browsers on a Mac.
Jul 21, 2006
Steve Soskin says:
OK - I think I figured it out. It looks like the Builder Plugin is what is causi...OK - I think I figured it out. It looks like the Builder Plugin is what is causing the blank page. I created a space without Builder and the map renders just fine. In addition, in IE - with Builder and the map. the Builder menu doesn't render but the map does.
Jul 21, 2006
Guy Fraser says:
Thanks for the info Steve - we'll look in to this over the weekend. If possible,...Thanks for the info Steve - we'll look in to this over the weekend. If possible, could you email us the wiki notation you're using (to usual email addr) as it'll allow us to set-up our testing area more quickly.
Jul 26, 2006
Steve Soskin says:
Any update on using gmaps with Builder? thnx, steveAny update on using gmaps with Builder?
thnx,
steve
Aug 09, 2006
Test says:
I can't get this to work for UK addresses no matter how I format it. It doesn't ...I can't get this to work for UK addresses no matter how I format it. It doesn't work even if I get the geocode co-ordinates:
Error locating address: Waterloo Road, Lambeth, SE1, UK
Error locating address: Waterloo Road, Lambeth, UK
Error locating address: Waterloo Road, Lambeth, Greater London, SE1, UK
Error locating address: -0.112503,51.504278
Error locating address: 51.504278,-0.112503
Error locating address: -0.1105, 51.5027
Does anyone have any ideas on getting around this?
Cheers!
Aug 27, 2006
Guy Hoogewerf says:
I haven't had success either yet... does Google Maps work with Builder anyone?I haven't had success either yet... does Google Maps work with Builder anyone?
Aug 27, 2006
Guy Fraser says:
Google API doesn't work well with UK addresses - it seems fine with Canadian and...Google API doesn't work well with UK addresses - it seems fine with Canadian and USA addresses, but not UK and Europe, etc
Aug 11, 2006
Troy Feeken says:
With this plugin is there a way to display a large scale map with many points to...With this plugin is there a way to display a large scale map with many points to display static on the map? It would work sweet for our confluence site to display all of our customers across the US.
Good work Atlassan, your stuff is priceless to our company.
Troy
Aug 24, 2006
Steve Soskin says:
Tried to run the macro in a space and received the following error: com.opensy...Tried to run the macro in a space and received the following error:
com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for namespace /admin/plugins/gmaps and action name configure
at com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:72)
Running the 0.2 version with:
Build Information:
Confluence Home: /var/www/confluence
Uptime: 2 days, 23 hours, 11 minutes, 38 seconds
Version: 2.2.7
Build Number: 524
Server Information:
Application Server: Apache Tomcat/5.5.12
Servlet Version: 2.4
Database Dialect: bucket.dialect.MySQLDialect
Database Driver Name: com.mysql.jdbc.Driver
Database Driver Version: 3.0
Memory Information:
Total Memory: 319 MB
Free Memory: 155 MB
Used Memory: 164 MB
System Information:
System Date: Thursday, 24 Aug 2006
System Time: 13:23:03
System Favourite Colour: Taupe
Java Version: 1.5.0_05
Java Vendor: Sun Microsystems Inc.
JVM Version: 1.0
JVM Vendor: Sun Microsystems Inc.
JVM Implementation Version: 1.5.0_05-b05
Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition
Java VM: Java HotSpot(TM) Server VM
User Name: tomcat
User Timezone: America/Los_Angeles
Operating System: Linux 2.6.9-22.ELsmp
OS Architecture: i386
Filesystem Encoding: UTF-8
Dec 19, 2006
Justin Stewart says:
Another great feature here - the ability to map multiple addresses or lat/longs....Another great feature here - the ability to map multiple addresses or lat/longs.
Right now I have a custom application to do this ...
Jan 18, 2007
Jeff Schnitter says:
Can you clarify your comment. Are you currently able to map multiple addre...Can you clarify your comment. Are you currently able to map multiple addresses with the gmap macro or are you saying it would be a nice feature if it could be added? I'd love to be able to map multiple addresses on one map, just like Troy mentions above, so that we could plot all of our customers on a single map.
Jan 03, 2007
Benjamin Doherty says:
I don't have commit privileges on this plugin, but I was able to hack together s...I don't have commit privileges on this plugin, but I was able to hack together some new features and I've put the revised source code on the JIRA page for this plugin. Now international addresses can be mapped (except UK but I don't know why) and "plain language" locations can be mapped. If you can search it on Google Maps, you can also find it with my changes. For example, these locations now work:
Tallaght Ireland
Hyde Park Illinois
Jan 19, 2007
Serge Monkewitz says:
Has anyone gotten this to work with Confluence 2.3? Once I got around not being ...Has anyone gotten this to work with Confluence 2.3? Once I got around not being able to configure it via the repository, all I get is this:
Error formatting macro: gmap: java.lang.NullPointerException
345 Alabama St, San Francisco, CA
I'm a confluence newbie, so I'm not sure where to find the stack trace (I checked all files ending with .log).
Jan 24, 2007
David Loeng says:
Serge, I too can reproduce this problem. I have a filed a bug report for the u...Serge,
I too can reproduce this problem. I have a filed a bug report for the underlying cause of this error:
http://jira.atlassian.com/browse/CONF-7748
Cheers,
Dave
Jan 27, 2007
Robert Brandt says:
I am working with a brand new installation of confluence, evaluating it. A...I am working with a brand new installation of confluence, evaluating it. After reading through the preloaded pages, I started installing some interesting looking plugins.
After installing but not using the Excel plugin, I installed this google maps plugin. Immediately, I got and error with this cause listed:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getActionName' in class com.atlassian.confluence.user.actions.LoginAction threw exception class java.lang.NullPointerException : null
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) caused by: java.lang.NullPointerException
at com.atlassian.plugin.impl.StaticPlugin.getResourceDescriptors(StaticPlugin.java:128)
My confluence install is now unuseable. How do I bring it back to life?
Jan 30, 2007
Don Willis says:
Hi Robert, That's odd. I tried to reproduce it and had the same behaviour as S...Hi Robert,
That's odd. I tried to reproduce it and had the same behaviour as Serge and Dave above. I'd suggest this strategy to revive Confluence:
Cheers,
Don
Jan 30, 2007
Robert Brandt says:
Thanks for the reply. I had tried restarting previously and it didn't help...Thanks for the reply. I had tried restarting previously and it didn't help. I opened a ticket on it with Atlassion and they told me to manipulate the hsql data, which I had a hard time doing. So, since I was having trouble with some plugins with v2.3.1 and I wanted to connect to MySQL anyway, I scrapped the initial install and went with 2.2.10. All seems to be working OK now.
Feb 26, 2007
Ming Yu says:
I installed the google map plugins to version 2.3.3, enter a map API key, and it...I installed the google map plugins to version 2.3.3, enter a map API key, and it worked for the address I first entered. Then I tried to change the address to a different one, it gave me an error:
We know this is a valid address, I also tried other addresses, they all have the same problem.
My question is: how to re-configure the google map plugin, how to re-install an API key?
Thanks
Feb 26, 2007
Agnes Ro says:
Hi Ming, You can configure the API key by going to SERVER_BASE_URL/admin/plugin...Hi Ming,
You can configure the API key by going to SERVER_BASE_URL/admin/plugins/gmaps/configure.action
Agnes.
Feb 28, 2007
Ming Yu says:
Thanks. I got a new key. Now the problem I have is that if I put in ...Thanks. I got a new key. Now the problem I have is that if I put in the sample address, it works fine. {gmap:height=400|width=1000}16th St and Alabama St, San Francisco, CA{gmap}", if I put in "{gmap}11100 Johns Hopkins Rd, Laurel, MD {gmap}" I got an error:
Thanks for your help.
Feb 28, 2007
Sherry says:
I have the same problem. {gmap:height=400|width=1000}725 16th St and Alabam...I have the same problem. {gmap:height=400|width=1000}725 16th St and Alabama St, San Francisco, CA{gmap} works fine. But when I try {gmap:height=400|width=1000}Stanford, CA{gmap}, I get: Error locating address: Stanford, CA
Also, when I try to put up two maps (i.e. {gmap:height=400|width=1000}16th St and Alabama St, San Francisco, CA{gmap} {gmap:height=400|width=1000}121 Campus Drive, Stanford, CA{gmap}), only the second one appears.
Would really appreciate your help.
Regards,
Sherry
Mar 02, 2007
Ming Yu says:
Another finding, I would like to see if anyone has the same experience. If...Another finding, I would like to see if anyone has the same experience. If I put in any CA address, such as {gmap:height=400|width=1000}121 Campus Drive, Stanford, CA{gmap}, it works fine. If I put in an address outside CA, I got this error: Error Locating address...
Mar 06, 2007
Sherry says:
Hello, a few issues: 1) I tried displaying a map on IE7, and the map appears, b...Hello, a few issues:
1) I tried displaying a map on IE7, and the map appears, but the pin doesn't -- I get a black splotch instead -- any ideas? Works fine in Firefox though.
2) I can't seem to display two maps on the same page.
3) Addresses as mentioned above (just a city or state) still give an "Error locating address" message. The coordinates seem to check out okay after running through the geocoder, but somehow the map doesn't display.
Any ideas? Would really appreciate some help and comments
Mar 08, 2007
Simon Mittag says:
Google maps Australia support would be nice after their relaunch, I've added a J...Google maps Australia support would be nice after their relaunch, I've added a Jira issue here: http://developer.atlassian.com/jira/browse/GMAP-4
I'm willing to help out fix this, msg me if interested.
Mar 13, 2007
Simon Mittag says:
Google maps plugin should now work with confluence 2.3 again. Also try out new n...Google maps plugin should now work with confluence 2.3 again. Also try out new non US addresses, like "Sydney, Australia". Ming, I've tried your address "11100 Johns Hopkins Rd, Laurel, MD" and it works for me. Please let me know if you have any well formed addresses that do work in google maps and don't work in the plugin.
Mar 13, 2007
Ming Yu says:
Simon - I have done my initial testing. It works great so far. Thank...Simon - I have done my initial testing. It works great so far. Thanks for the great work.
- Ming
Mar 15, 2007
Stephen Morad says:
Any chance we could get this plugin updated to support proxied environments?&nbs...Any chance we could get this plugin updated to support proxied environments? Our Confluence server does not have direct access to the Internet and even going through a proxy (from the server) is questionable. It would be nice if the geocoding part could either be done client-side or bypassed (i.e. by entering the geocoordinates rather than the address). Any chance on getting this feature added?
Mar 18, 2007
Simon Mittag says:
Added another release (0.4). You can now select 'maptype=Satellite' or 'maptype=...Added another release (0.4). You can now select 'maptype=Satellite' or 'maptype=Hybrid' for google earth satellite photography overlays.
Also new are the 'zoom', 'controls' and 'marker' attributes.
Zoom (1-17) comes in handy if you have smaller maps as google renders them pretty bad at a low zoom level.
Controls defaults to true and hides the map controls when set to false, same goes for the 'marker' attribute and the map marker.
Double clicking into the map should now zoom in/out with the left and right mouse buttons.
May 19
Adam Cohen says:
cool tool! looks like zoom:20 works, which corresponds with the slider widg...cool tool!
looks like zoom:20 works, which corresponds with the slider widget on maps.google.com
Apr 04, 2007
Paul Carruthers says:
I'm struggling to get UK addresses working...any ideas? Have the latest version ...I'm struggling to get UK addresses working...any ideas? Have the latest version of the plugin (0.4), API key installed and international places such as "Sydney, Australia" work OK. I'm on standalone version 2.2.8
Has anyone got this working and offer me any clues? Any help gratefully rec'd.
PC.
Apr 19, 2007
Chris Fowles says:
Any possibility of adding the ability input an KML file (as an attachment) so yo...Any possibility of adding the ability input an KML file (as an attachment) so you can display multiple locations?
We'd like to be able to display a list map of our current customers, prospects, etc all on one map.
Jun 02, 2007
Arne Lovius says:
Running Version: 2.5.3 Build:#808 and UK lookups still don't work, German ...Running Version: 2.5.3 Build:#808 and UK lookups still don't work, German ones do, French ones do, even Beligian ones do, but the UK seems to be blank...
I get an error on the page (IE7) when I try a UK location, which I don't get with anywhere else that I've tried.
Firefox doesn't display the error
I am able to zoom out and scroll the map to the UK, as long as it starts somehere that is recognised
edit: http://www.yourgmap.com/ appears to have the same problem, I wonder if there has been an API change...
Jul 09, 2007
Ethan Bearman says:
Having trouble with this plugin: When I insert a gmap, it displays the zoom bar...Having trouble with this plugin:
When I insert a gmap, it displays the zoom bars, the buttons for sat/map/hybrid, but no map.
I had installed a key for www.site.name/display at the Google Maps API page... is that right?
Help would be appreciated - and someone please let me know if there is a more appropriate place to be asking for help with this.
Thx
Jul 11, 2007
Remon van Gijn says:
same here Char: 87 Error: 'null' is null or not an object Code: 0 since l...same here
since last monday here (europe, netherlands) the gmap plugin stopped functioning , just controls no map.
only tested with MSIE-7. Seems a google side change.
Jul 12, 2007
Keith Brophy says:
Hi All, As far as I can tell, it appears that the call to enable dragging on th...Hi All,
As far as I can tell, it appears that the call to enable dragging on the map causes the map to fail to load (i.e. the controls are loaded but the actual map does not).
Recompiling the plugin without the line (19):
seems to fix the problem.
Cheers,
Keith
Jul 12, 2007
Remon van Gijn says:
Seems an intermediate fix, but could you attach your compiled version ?Seems an intermediate fix, but could you attach your compiled version ?
Jul 23, 2007
Remon van Gijn says:
Where can you get the source for this plugin ? The link above is empty ? i would...Where can you get the source for this plugin ? The link above is empty ? i would like to recompile with the sugested exclusion.
Update: Keith Brophy provided the recompiled version, it works again (in MSIE 7) and this version is attached gmaps-confluence-plugin-0.4-modified.jar .
Jul 23, 2007
Greg M. Smith says:
Anyone have any luck with this? I have installed the modified version (.4-modifi...Anyone have any luck with this? I have installed the modified version (.4-modified) and have not been able to get any browser to work, I just get a blank googlemaps template (with the "Map/Satellite/Hybrid" and zoom in out buttons.
Jul 24, 2007
Bill Callahan says:
This bug is now being officially tracked by Atlassian: http://developer.a...This bug is now being officially tracked by Atlassian:
http://developer.atlassian.com/jira/browse/GMAP-5
Bill
Jul 29, 2007
Simon Mittag says:
I've rebuilt & released Keith's fix (thanks Keith!) as 0.4.1I've rebuilt & released Keith's fix (thanks Keith!) as 0.4.1
Aug 19, 2007
Andy Brook says:
Anyone know why I can't have to instance of "gmaps" tag on one page?Anyone know why I can't have to instance of "gmaps" tag on one page?
Aug 30, 2007
Simon Mittag says:
Andy, without having done any research that's probably got to do with the Javas...Andy,
without having done any research that's probably got to do with the Javascript implementation on the client using global variables - they get in each other's way. I couldn't get 2 maps to work either, for now all I can recommend is putting them on separate pages.
S.
Oct 24, 2007
Rick McMillin says:
For some reason, I just can't seem to get this to work. I'm sure it's just...For some reason, I just can't seem to get this to work. I'm sure it's just me doing something dumb. Every time I try to access a page with a map on it, I get this error:
"The Google Maps API key used on this web site was registered for a different web site."
I've tried every URL I can think of when generating the API key with no luck.
The actual URL of the Confluence installation looks like this:
http://name-of-server.mydomain.com:8090/
My Server Base URL is set to:
http://confluence.mydomain.com/
I also have Apache on my server set to proxy the "http://confluence.mydomain.com/" URL to "http://name-of-server.mydomain.com:8090/".
One question I have about this is that the server I'm running Confluence on sits in our internal network, behind our firewall. The site is not accessible from the outside. Could that be the issue?
What URL do I need to use when generating my API key?
Nov 10, 2007
Jay Hariani says:
We seem to be having the same problem (Confluence 2.6). We've been using the plu...We seem to be having the same problem (Confluence 2.6). We've been using the plugin frequently with no problems, but over the last few days Google seems to be rejecting our site's API key. We've tried to regenerate the key and update it in Confluence. No luck. Anyone else receiving this error?
Nov 20, 2007
James Cameron says:
I just added the Google Maps plugin and see the same issue. We are running 2.6.1...I just added the Google Maps plugin and see the same issue. We are running 2.6.1 build #916 sitting on an internal server. In the next week or so this server is moving into the DMZ so I'll try again once it is outside the firewall
Dec 20, 2007
Simon Wheatley says:
A note on Google API keys, it's slightly confusing. Google want you to enter t...A note on Google API keys, it's slightly confusing.
Google want you to enter the "http://" prefix and a trailing slash when you generate your key. The plugin expects you not to enter the "http://" prefix, or the trailing slash when you add the key to configure the plugin. Further you should use you hostname, i.e. www.example.com or example.com, not including any "directory" that your confluence space or page is running in, i.e. to use a map on http://www.example.com/display/europe/Los+Ravers, you need a key for www.example.com.
Further if your site is accessible on both http://www.example.com and http://example.com, you need keys for both options so that visitors to either will access your map(s) with a valid key.
HTH, Simon.
Nov 13, 2007
Andrew Schoewe says:
We have version 2.5.6 installed and it is having this same problem: "The Google ...We have version 2.5.6 installed and it is having this same problem: "The Google Maps API key used on this web site was registered for a different web site."
Our site is behind a firewall, but shouldn't it still work? I just installed it today, so it has never worked for me, but it would be very valuable if it did. Any information on a workaround/solution would be appreciated.
Nov 22, 2007
Sam Currie says:
I am also having the same issue with this plugin. Does anyone have a fix t...I am also having the same issue with this plugin. Does anyone have a fix to this problem? Also exactly what URL should you use when generating a key?
Nov 27, 2007
Aaron Godert says:
We just upgraded to the latest version of this plugin and started having this ex...We just upgraded to the latest version of this plugin and started having this exact same issue. I've tried regenerating the API key and saving it several times but continue to have this problem.
Nov 27, 2007
Aaron Godert says:
Downgrading to the previous version fixed this temporarily for us.Downgrading to the previous version fixed this temporarily for us.
Nov 27, 2007
Joe Van Quakebeke says:
How did you find the older version? I tried to install the older version l...How did you find the older version? I tried to install the older version listed in the attachments and it failed PluginParse.
Nov 28, 2007
Joe Van Quakebeke says:
I have opened a JIRA ticket for this issue. It is GMAP-12. Joe ...I have opened a JIRA ticket for this issue. It is GMAP-12.
Joe
Dec 11, 2007
Joe Van Quakebeke says:
I upgraded my server to 2.6.2 and the issue still exists. I will update th...I upgraded my server to 2.6.2 and the issue still exists. I will update the JIRA ticket also.
Jan 10, 2008
Jonathan Nolen says:
Hi All, Trying to look into this, and I'm becoming suspicious that Google has r...Hi All,
Trying to look into this, and I'm becoming suspicious that Google has recently started validating keys more strictly. Those people having trouble, can you let me know whether the site you're attempting to use the GMap on is publicly accessible via the web?
Cheers,
Jonathan
Jan 24, 2008
Matt D'Ercole says:
Jonathan, Thanks for looking into this. We are experiencing the "The Goog...Jonathan,
Thanks for looking into this. We are experiencing the "The Google Maps API key used on this web site was registered for a different web site." issue.
Our site (www.syabaseball.org) is publicly accessible via the web.
I tried several different Google API keys with no luck.
Thanks,
Matt
Mar 24, 2008
Jonathan Nolen says:
We've had a report that you can correct this problem by making sure that you put...We've had a report that you can correct this problem by making sure that you put your hostname into the configuration screen without the 'http://' or 'https://'. If someone can confirm this fixes the problem, we'll update the plugin to do the right thing in all circumstances.
Aug 12, 2008
Amitee Goulton says:
I tried with and without http:// and the trailing /, I also tried with and witho...I tried with and without http:// and the trailing /, I also tried with and without the ":8090" which is setup for our server.
In the end I added 4 keys, 2 for our .com domain and 2 for our .com.au domain (one with :8090 and one without) and finally I have a working map!
So not entirely sure if it was the port or the domain name that was the problem, but I dare not test it any further now it's working.
PS: Our server is not visible to the public.
Dec 13, 2007
Simon Mittag says:
Google suggests they support a single "directory" on the web server you signed u...Google suggests they support a single "directory" on the web server you signed up for, i.e http://www.site.com/directory. I don't know if this is new in the maps API, but it sounds like it could be the cause of what people have reported.
They also launched an enterprise version of google maps for applications. I need to research this further, stay tuned.
Dec 13, 2007
Simon Mittag says:
looks like they have indeed changed the license and it is no longer free except ...looks like they have indeed changed the license and it is no longer free except for public noncommercial websites. This would explain keys going "poof" for different URLs than the registered one. Google maps has come out of beta this year, I suspect that's why the enterprise version. Maybe someone from Atlassian can comment on the situation? do we need an enterprise license for this plugin to work?
Feb 08, 2008
James Matheson says:
As per one of the comments above, I got the macro to work again on my site by en...As per one of the comments above, I got the macro to work again on my site by entering the host without the leading 'http://' or the trailing '/'. For example, instead of http://www.saikore.com/, I entered www.saikore.com
Mar 17, 2008
Vinh-Thach Nguyen says:
I saw these 2 issues with gmap: if used inside {expand} the location of the a...I saw these 2 issues with gmap:
Apr 10, 2008
Eugene Neymark says:
For anyone that wants to add multiple markers on the map - showing several addre...For anyone that wants to add multiple markers on the map - showing several addresses - now you can!
Currently Atlassian doesn't support this, to do it I've edited the velocity template - to show locations and their name.
So you would enter
{gmap} Eugene | San Francisco, CA Hawaii | Maui, HI MGM | Las Vegas, CA {gmap}And this will display multiple locations and their names.
To enable this - you will have to edit gmaps-macro.vm that is is inside templates directory.
There, replace the logic that sets the marker with this code:
This worked for me.
There is a jira ticket for adding this functionality :
http://developer.atlassian.com/jira/browse/GMAP-3
Apr 23, 2008
Eugene Neymark says:
After adding more and more addresses to the page, (after 10 addresses to be more...After adding more and more addresses to the page, (after 10 addresses to be more precise), you will start noticing that your other addresses are not appearing.
This happens because for every request to geocoder you are getting error code 620 - geocoder only allows for 1 address lookup per second. Even timing the requests is a bit tricky still. So what I am doing now is I get the lat/long coordinates for each address and then append it to the address. So lets say you added 6 new addresses to your wiki page - after the requests came back from geocoder with their coordinates, you will see them displayed below the map. You would then copy them and edit the page again, replacing your address string with new one that you copied.
Long story short - this works well, just requires a little bit of extra collaborative work from your users. Here's the complete velocity template *gmaps-macro.vm*, you would want to edit it slightly - change the center of the map. And replace the template inside the jar file with it.
May 17, 2008
Karen Huffman says:
Hi, I don't have access to the gmaps-macro.vm. Was trying to create a user-macro...Hi, I don't have access to the gmaps-macro.vm. Was trying to create a user-macro (e.g., dcgmap) to see if I could do something similar. Tried to tweak the full code to meet my specific need but only received an error. Has anyone created someting that could allow us to use multiple locations by creating a custom user-macro instead? Please post OR email me directly khuffman (at) ngs.org
Jul 17, 2008
Frank Stillone says:
Hi, I am strying to get the gmaps plug in to work on my instance of confl...Hi,
I am strying to get the gmaps plug in to work on my instance of confluence but having no luck - could someone please assist me?
I am hgoing to the "insert API" page and entering our root url for our iinstance which is http://mywiki.silentpartner.com.au/ and then going to http://code.google.com/apis/maps/signup.html to get the key. When I save it then try the macro
i get an error that says:
"The google maps api key used on this website was resisted for a different web site. You can generate a new key at ....."
Can anyone help?
Jul 23, 2008
Eugene Neymark says:
To Huffman: The gmaps.macro.vm velocity template lives inside the macro's jar. Y...To Huffman: The gmaps.macro.vm velocity template lives inside the macro's jar. You manually have to patch it with the new code above.
Frank, this is simply because your key is either not valid or was not generated at all. You have to generate the key, add it in the administration section of the macro. Do not add http:// as part of the url.
Nov 12, 2008
Steffen Klepke says:
Hi all, i installed the latest Google Maps Plugin (gmaps-confluence-plugin-0.7....Hi all,
i installed the latest Google Maps Plugin (gmaps-confluence-plugin-0.7.1.jar) in my Confluence Wiki (Version 2.9.1). Furthermore i obtained a test key to use the Google Maps API and registered the key within Confluence.
After embedding a marker, e.g. one of the described above i only see a Google Maps box with a message "An administrator must configure your servers Google API key before you can use the gmap macro" which i've already done so far ("Successfully saved API keys.").
I obtained a key for http://localhost:8080 -> Confluence runs under http://localhost:8080/mywiki/...
I also tried a key for http://myhost:8080 -> Confluence runs under http://myhost:8080/mywiki/... (myhost == real host name)
I played around with it a while. The result is always a Google Maps box containing the message "An administrator must configure your servers Google API key before you can use the gmap macro".
My Wiki runs behind a firewall, but that shouldn't cause the problem. A small test of Google Maps API within a static web site runs successfully.
Any ideas? Is there any documentation for the latest (rewritten) plugin version?
Thanks for any help,
Steffen
Mar 24
Neal Dias says:
I had this same issue. I initially created my google API key with http://enflue...I had this same issue.
I initially created my google API key with http://enfluence.example.com, I go the same error as above. Then I created one with http://enfluence.example.com:8080. Still no good.
Then I went to the "Confluence Administration/System Information" and checked my "Server Base URL" there, because of how I have confluence set up behind an app server, my external url is http://enfluence.example.com, but the server base url is: http://confluence-app-server.internal.example.com:8080.
So I created a key with http://confluence-app-server.internal.example.com:8080, and that works, and displays the intended map, but also throws the prevously noted "The google maps api key used on this website was resisted for a different web site. You can generate a new key at ....." error.
I can see why this is likely the case, but no idea how to try to fix it, the error message is obtrusive, just a bit. =]
Thanks.
Dec 02, 2008
Bernd Lindner says:
The Google Maps Plugin (gmaps-confluence-plugin-0.7.1.jar) works for me, however...The Google Maps Plugin (gmaps-confluence-plugin-0.7.1.jar) works for me, however some of the parameters are ignored:
How is your experience? Are this bugs?
Cheers,
Bernd
Apr 01
Tony Johnson says:
Is it possible to have more than one {gmap} on a page? When I try this both maps...Is it possible to have more than one {gmap} on a page? When I try this both maps display the content from the second {gmap}. I tried giving each instance a unique value for the name parameter but it did not seem to help.
May 22
Jürgen Unfried says:
have a little problem using this macro on a page with scaffold data. does not w...have a little problem using this macro on a page with scaffold data.
does not work (well, maps showing, but with san francisco viewed instead of somehwere in germany)
{gmap} {get-data:name=Lat}{get-data},{get-data:name=Long}{get-data} {gmap}if I remove the gmap macro, copy paste the data into gmap macro it renders
{gmap} 49.5,11.516667 {gmap}any ideas`?
Jürgen