Changes between Version 4 and Version 5 of GoogleMapMacro
- Timestamp:
- Oct 26, 2008, 6:05:50 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoogleMapMacro
v4 v5 3 3 == Description == 4 4 5 This macro lets the user insert a full dynamic Google Map. Because a lot of javascript is used (by Google) a [http://local.google.com/support/bin/answer.py?answer=16532&topic=1499 Google Map compatible browser] is needed. Newer version of Firefox and MS Internet Explorer are compatible.5 This macro lets the user insert a full dynamic [http://maps.google.com/ Google Map]. Because a lot of javascript is used (by Google) a [http://local.google.com/support/bin/answer.py?answer=16532&topic=1499 Google Map compatible browser] is needed. Newer version of Firefox and MS Internet Explorer are compatible. 6 6 7 7 For javascript-less static maps use the similar GoogleStaticMapMacro. 8 8 9 '''Please note that this is an alpha version which still lacks a lot of functionality.''' Especially the geocoding, i.e. address-to-coordinates conversion, is not implemented yet, so longitude and latitude coordinates must be given. These can be taken from the [http://maps.google.com/ Google Maps website].9 '''Please note that this is an alpha version which still lacks a lot of functionality.''' 10 10 11 11 Multiple Google Maps on the same wiki page are actively supported but are more likely to cause trouble. … … 47 47 == Example == 48 48 49 === Using geographic coordinates === 50 Please use a colon, not a comma, as separator for the coordinates. 49 51 {{{ 50 52 [[GoogleMap(center=50.0:10.0,zoom=10,size=400x400)]] 51 53 }}} 52 54 55 === Using an address === 56 Please use semicolons, not commas, as separators in the address. 57 {{{ 58 [[GoogleMap(address="Street; City; County",zoom=10,size=400x400)]] 59 }}} 60 Please note that the address is converted into coordinates by user-side javascript every time the wiki page is loaded. 61 If this fails no map will be shown, only an empty gray rectangle. 62 63 === Using both === 64 Doesn't make this much sense, but is supported anyway. This could be used as failsafe if you aren't sure if the address resolution will be successful. 65 {{{ 66 [[GoogleMap(center=50.0:10.0,address="Street; City; County",zoom=10,size=400x400)]] 67 }}} 68 The given coordinates will be shown until the address is resolved, which can take a little when the user has a slow internet connection. 69 After (and if) the address is resolved the map will be centered on it. 53 70 54 71