×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Maps: Difference between revisions

    Content added Content deleted
    imported>mutante
    mNo edit summary
    No edit summary
    Line 1: Line 1:
    boc4ta
    You can now insert [http://maps.google.com Google Maps] into Wiki pages.
    You can now insert [http://maps.google.com Google Maps] into Wiki pages.



    Revision as of 20:26, 4 October 2007

    boc4ta You can now insert Google Maps into Wiki pages.

    This is possible due to the GoogleMapsExtension of Emiller.

    Usage

    Tag:

    <googlemap> ... </googlemap>

    Options

    • width - specifies the width of the map in pixels
    • height - specifies the height of the map in pixels
    • lat - latitude, specifies the location of the center of the map (north or south of the Equator)
    • lon - longitude, specifies the location of the center of the map (east or west of the Prime Meridian)
    • zoom - specifies how far you are zoomed in or out (0=closest, higher numbers = further away, notice that google doesnt provide data closer to 4 or something in many areas, try in preview)
    • type - (legal values are "map", "hybrid", and "satellite"; defaults to hybrid)
    • controls ("small" creates +/- zoom buttons, "medium" has zoom buttons and pan buttons, and "large" has pan buttons with a sliding scale for zoom)

    Example

    Luxor Hotel in Las Vegas

    <googlemap width="400" height="400" lat="36.095632" lon="-115.175278" zoom="0" controls="small" type="hybrid">
    </googlemap>


    Result

    <googlemap width="400" height="400" lat="36.095632" lon="-115.175278" zoom="0" controls="small" type="hybrid"> </googlemap>

    Adding Landmarks

    Now if you want to add landmarks you can do so like this:

    Example

    <googlemap width="400" height="400" lat="22.566667" lon="77.2" zoom="13" controls="small" type="hybrid">
    28.566667,77.2, Delhi
    18.96,72.82, Mumbai (Bombay)
    13.09,80.27, Chennai (Madras)
    22.82,88.2, Kolkata (Calcutta)
    </googlemap>
    
    • notice: you can also use wiki syntax, like bracket links inside the landmark description

    Result

    see on India, it appears that i cant put this here because multiple maps on the same page dont work

    Example pages

    Pages this is being used on include: India,Cologne,Nordhorn,Sealand,WikiWiki_Hawaiian_BBQ_Berkeley,Iraq,..

    Finding Location Data

    If you want to insert a map and can not find the location data in the right format, for a city go like this: go to the Wikipedia article of that place, and click on the location in the box on the right, you will be directed to kvaleberg.com where you find another direct link to GoogleMaps, there you can copy the lat and lon data right out of the URL in your browser bar.

    also see http://gnswww.nga.mil/geonames/Gazetteer/Search/Search.jsp

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.