Bridges-Python
3.4.5-dev2-5-g352f189
Bridges(Python API)
|
This class provides an API to displaying world maps in BRIDGES. More...
Public Member Functions | |
def | get_projection (self) |
def | get_overlay (self) |
def | get_data_structure_type (self) |
def | get_data_structure_representation (self) |
Getter for the data structure's JSON representatoin. More... | |
def | get_map_representation (self) |
gets the JSON representation of the map data More... | |
def | __init__ (self) |
Constructor: creates an object. More... | |
This class provides an API to displaying world maps in BRIDGES.
See the Maps tutorials for examples of the usage of the US Map API at https://bridgesuncc.github.io/tutorials/Map.html
def bridges.world_map.WorldMap.__init__ | ( | self | ) |
Constructor: creates an object.
Reimplemented from bridges.map.Map.
def bridges.world_map.WorldMap.get_data_structure_representation | ( | self | ) |
Getter for the data structure's JSON representatoin.
def bridges.world_map.WorldMap.get_data_structure_type | ( | self | ) |
def bridges.world_map.WorldMap.get_map_representation | ( | self | ) |
gets the JSON representation of the map data
Uses functions to convert the state and country attributes to objects before serialization into a JSON string
Reimplemented from bridges.map.Map.
def bridges.world_map.WorldMap.get_overlay | ( | self | ) |
Reimplemented from bridges.map.Map.
def bridges.world_map.WorldMap.get_projection | ( | self | ) |
Reimplemented from bridges.map.Map.