Created
January 23, 2013 20:18
-
-
Save tarakanbg/4612580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setting width, height, enabling terrain overlay and disabling the city labels: | |
"egll-lowi".gcmap(:width => 800, :height => 400, :terrain => true, :city => false) # => Returns an image map URL with set width, height and terrain, with city labels disabled | |
# Setting the map to display the airports' names instead of the ICAO/IATA codes | |
route = "egll-lowi" | |
route.gcmap(:airport_name => true) # => Returns an image map URL with airport names displayed | |
# Setting the map to display the airports' names and a terrain overlay | |
route = "egll-lowi" | |
route.gcmap(:airport_name => true, :terrain => true) # => Returns an image map URL with airport names and terrain displayed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment