com.esri.map
Class BingMapsResult

java.lang.Object
  extended by com.esri.map.BingMapsResult
All Implemented Interfaces:
com.esri.core.map.bing.Result, Serializable

public class BingMapsResult
extends Object
implements com.esri.core.map.bing.Result, Serializable

This class represents a Bing Maps result containing an address and its locations returned by a geocode or reverse-geocode request. You can refer to the Bing Maps documentation GeocodeResult Class for more information.

See Also:
Serialized Form

Constructor Summary
BingMapsResult()
          Default constructor.
 
Method Summary
 void fromJson(org.codehaus.jackson.JsonParser parser, int nothing)
           Populates a BingMapsResult using a Json response.
 int getImageHeight()
          Returns the height of the image.
 String getImageUrl()
          Returns the URL for the image.
 String[] getImageUrlSubdomains()
          Returns the URL sub domains for the image.
 int getImageWidth()
          Returns the width of the image.
 String getVintageEnd()
          Returns the vintage end of the image.
 String getVintageStart()
          Returns the vintage start of the image.
 int getZoomMax()
          Returns the maxim zoom of the image.
 int getZoomMin()
          Returns the minimum zoom of the image.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BingMapsResult

public BingMapsResult()
Default constructor.

Method Detail

getImageUrl

public String getImageUrl()
Returns the URL for the image.

Returns:
the URL for the image

getImageUrlSubdomains

public String[] getImageUrlSubdomains()
Returns the URL sub domains for the image.

Returns:
the URL sub domains for the image

getImageWidth

public int getImageWidth()
Returns the width of the image.

Returns:
the width of the image

getImageHeight

public int getImageHeight()
Returns the height of the image.

Returns:
the height of the image

getVintageEnd

public String getVintageEnd()
Returns the vintage end of the image.

Returns:
the vintage end of the image

getVintageStart

public String getVintageStart()
Returns the vintage start of the image.

Returns:
the Returns the vintage start of the image.

getZoomMin

public int getZoomMin()
Returns the minimum zoom of the image.

Returns:
the minimum zoom of the image

getZoomMax

public int getZoomMax()
Returns the maxim zoom of the image.

Returns:
the maxim zoom of the image

fromJson

public void fromJson(org.codehaus.jackson.JsonParser parser,
                     int nothing)
              throws Exception

Populates a BingMapsResult using a Json response.

Specified by:
fromJson in interface com.esri.core.map.bing.Result
Parameters:
parser - JsonParser containing the Json response
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.