Custom Map Shapes

Parameter name:

  • shape : single shape
  • shape_X : multiple shapes

Individual map shapes may be specified with the shape parameter, while multiple map shapes may be specified with shape_X, where X starts at 1 and increments as each shape is added. The types of shapes include circle, box, and polygon, each having its own set of additional parameters.

Circle

shape name: circle

Use of the &shape=circle parameter requires the following additional parameters to be included:

Parameter for Single Shapes Parameter for Multiple Shapes* Description
lon1 lon1_X The longitude of the center of the circle
lat1 lat1_X The latitude of the center of the circle
radius radius_X The radius of the circle, in miles

* When multiple shapes are used, X should be replaced with the same value as the corresponding shape_X value.

Rectangle

shape name: rectangle

Use of the &shape=rectangle parameter requires the following additional parameters to be included:

Parameter for Single Shapes Parameter for Multiple Shapes* Description
lon1 lon1_X The longitude of the upper left corner of the rectangle
lat1 lat1_X The latitude of the upper left corner of the rectangle
lon2 lon2_X The longitude of the lower right corner of the rectangle
lat2 lat2_X The latitude of the lower right corner of the rectangle

* When multiple shapes are used, X should be replaced with the same value as the corresponding shape_X value.

Polygon

shape name: polygon

Use of the &shape=polygon parameter requires the following additional parameters to be included:

Parameter for Single Shapes Parameter for Multiple Shapes* Description
lon1 lon1_X The longitude of the first point in the polygon
lat1 lat1_X The latitude of the first point in the polygon
lon2 lon2_X The longitude of the second point in the polygon
lat2 lat2_X The latitude of the second point in the polygon
lon3 lon3_X The longitude of the third point in the polygon
lat3 lat3_X The latitude of the third point in the polygon
lonY lonY_X The longitude of the Yth point in the polygon
latY latY_X The latitude of the Yth point in the polygon

* When multiple shapes are used, X should be replaced with the same value as the corresponding shape_X value.

Circle around specified address

Parameter name: geo=radius

Instead of supplying map coordinates, an address at which to center a radius search may be specified by including a parameter of &geo=radius. Either geo_state or geo_zip must be provided if geo=radius is used. Only one geo=radius parameter may be used on a link at a time.

Parameter Description
geo_range Radius of the circle in miles. Defaults to 1 mile if not provided.
geo_street Street address of the property, e.g. 101 Main St
geo_city City of the property, e.g. Milwaukee
geo_state State of the property, e.g. WI
geo_zip Zip code of the property, e.g. 53201

 

Multiple Shapes Example

A URL with multiple shapes might look like:

http://link.flexmls.com/oobouwk4mhi,1&shape_1=circle&lon1_1=-96.885597&lat1_1=46.789445&radius_1=50&shape_2=box&lon1_2=-97.147771&lat1_2=47.057753&lon2_2=-96.730291&lat2_2=46.731181