◆ __init__()
def bridges.us_map.USMap.__init__ |
( |
|
self, |
|
|
|
states = None |
|
) |
| |
Constructor: creates an object with the given state data.
@param states state and county information for a set of states
Reimplemented from bridges.map.Map.
◆ get_data_structure_representation()
def bridges.us_map.USMap.get_data_structure_representation |
( |
|
self | ) |
|
Getter for the data structure's JSON representatoin.
- Returns
-
str the data structure representation
◆ get_data_structure_type()
def bridges.us_map.USMap.get_data_structure_type |
( |
|
self | ) |
|
◆ get_map_representation()
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.
◆ get_overlay()
def bridges.us_map.USMap.get_overlay |
( |
|
self | ) |
|
◆ get_projection()
def bridges.us_map.USMap.get_projection |
( |
|
self | ) |
|
◆ states() [1/2]
def bridges.us_map.USMap.states |
( |
|
self | ) |
|
Returns a list of USState objects.
◆ states() [2/2]
def bridges.us_map.USMap.states |
( |
|
self, |
|
|
|
value |
|
) |
| |
value a list of USState objects
◆ all
The documentation for this class was generated from the following file: