(self)
return {'mapid': mapid['mapid'], 'token': mapid['token']}
Returns the map ID of an image for the requested year.

    HTTP Parameters:
      year: The year of the image, in "YYYY" format.

    Returns:
      A dictionary with two keys: mapid and token.
Returns the map ID of an image for the requested year.
Returns the map ID of an image for the requested year .
def DoGet(self):
    """Returns the map ID of an image for the requested year.

    HTTP Parameters:
      year: The year of the image, in "YYYY" format.

    Returns:
      A dictionary with two keys: mapid and token.
    """
    image = _GetImage(self.request.get('year'))
    mapid = image.getMapId(VIZ_PARAMS)
    return {'mapid': mapid['mapid'], 'token': mapid['token']}
def DoGet ( self ) : image = _GetImage ( self . request . get ( 'year' ) ) mapid = image . getMapId ( VIZ_PARAMS ) return { 'mapid' : mapid [ 'mapid' ] , 'token' : mapid [ 'token' ] }