Bridges-Python
3.4.5-dev2-5-g352f189
Bridges(Python API)
|
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, states=[]) |
Constructor: creates an objecdt with the given state data. More... | |
def | states (self) |
Returns a list of USState objects. More... | |
def | states (self, value) |
value a list of USState objects More... | |
Public Member Functions inherited from bridges.map.Map | |
def | __init__ (self) |
def bridges.us_map.USMap.__init__ | ( | self, | |
states = [] |
|||
) |
Constructor: creates an objecdt with the given state data.
@param states state and county information for a set of states
def bridges.us_map.USMap.get_data_structure_representation | ( | self | ) |
Getter for the data structure's JSON representatoin.
def bridges.us_map.USMap.get_data_structure_type | ( | self | ) |
def bridges.us_map.USMap.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.us_map.USMap.get_overlay | ( | self | ) |
Reimplemented from bridges.map.Map.
def bridges.us_map.USMap.get_projection | ( | self | ) |
Reimplemented from bridges.map.Map.
def bridges.us_map.USMap.states | ( | self | ) |
Returns a list of USState objects.
def bridges.us_map.USMap.states | ( | self, | |
value | |||
) |
value a list of USState objects