STAY IN TOUCH

and receive our newsletter to get the latest news and tips.


Map

A Bing map
function (Map) → add line(locations : Collection of Location, color : Color, thickness : Number)
Adds a polyline that passes through various geocoordinates
function (Map) → add link(link : Link, background : Color, foreground : Color) returns Map Pushpin
Adds a link pushpin on the map (ignored if the location if not set)
function (Map) → add message(msg : Message, background : Color, foreground : Color) returns Map Pushpin
Adds a message pushpin on the map (ignored if the location is not set)
function (Map) → add picture(location : Location, picture : Picture, background : Color) returns Map Pushpin
Adds a picture pushpin on the map
function (Map) → add place(place : Place, background : Color, foreground : Color) returns Map Pushpin
Adds a place pushpin on the map (ignored if the location is not set)
function (Map) → add text(location : Location, text : String, background : Color, foreground : Color) returns Map Pushpin
Adds a text pushpin on the map
function (Map) → center returns Location
Gets the map center location
function (Map) → clear
Clears the lines, regions and pushpins
function (Map) → fill region(locations : Collection of Location, fill : Color, stroke : Color, thickness : Number)
Fills a region with a color
function (Map) → is invalid returns Boolean
Returns true if the current instance is useless
function (Map) → post to wall
Displays the map in the wall using Bing.
function (Map) → set center(center : Location)
Sets the map center location
function (Map) → set zoom(level : Number)
Sets the zoom level from 1 (earth) to 21 (street)
function (Map) → view pushpins
Changes the current zoom and center so that all the pushpins are visible. This method has no effect if the map is not posted on a the wall yet.
function (Map) → zoom returns Number
Gets the zoom level

edit this topic bithrzecpp