Changes between Version 4 and Version 5 of GoogleMapMacro


Ignore:
Timestamp:
Oct 26, 2008, 6:05:50 PM (15 years ago)
Author:
Martin Scharrer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoogleMapMacro

    v4 v5  
    33== Description ==
    44
    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.
     5This 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.
    66
    77For javascript-less static maps use the similar GoogleStaticMapMacro.
    88
    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.'''
    1010
    1111Multiple Google Maps on the same wiki page are actively supported but are more likely to cause trouble.
     
    4747== Example ==
    4848
     49=== Using geographic coordinates ===
     50Please use a colon, not a comma, as separator for the coordinates.
    4951{{{
    5052[[GoogleMap(center=50.0:10.0,zoom=10,size=400x400)]]
    5153}}}
    5254
     55=== Using an address ===
     56Please use semicolons, not commas, as separators in the address.
     57{{{
     58[[GoogleMap(address="Street; City; County",zoom=10,size=400x400)]]
     59}}}
     60Please note that the address is converted into coordinates by user-side javascript every time the wiki page is loaded.
     61If this fails no map will be shown, only an empty gray rectangle.
     62
     63=== Using both ===
     64Doesn'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}}}
     68The given coordinates will be shown until the address is resolved, which can take a little when the user has a slow internet connection.
     69After (and if) the address is resolved the map will be centered on it.
    5370
    5471