Map Overlays Now Available in flexmls IDX Developer API

Jun 17, 2010  |  Michael Wurzer

A few months ago, we added a new feature to flexmls Web that allows each user to define their own map shape overlays. Now we’ve added functionality to allow the shapes in those overlays to be referenced through the web developer API for flexmls IDX. We also have on our project list adding a feature to more easily give shapes to other users, which will help with using the shapes in the API as well.

You can see the full API documentation here, but here’s the new section:

Shapes From My Overlays

The shapes created with the “My Map Overlays” tool can be referenced with the &map_overlays= parameter. Multiple overlays can be specified in a comma-separated list of IDs.

To retrieve the ID of a given overlay, follow these steps:

    Visit the My Map Overlays menu item in the Preferences menu, and select the overlay with the shape you wish to use. Once you have chosen your overlay, click the shape you wish to retrieve the key for, then click the edit link, as shown below:

    The contents of the bubble will change, you and will see a link with the text Show API Key:

    The link will be placed with a code to reference this shape by, which will be used as the value to the &map_overlays= parameter.

2 Responses to “Map Overlays Now Available in flexmls IDX Developer API”

  1. Eric Jarvies says:


    When will it be possible to be able to add third party map layers, like WMS sources? Also, the ability to use OpenStreetMap as a/the base map, in place of Google Maps?

    Speaking on behalf of the Los Cabos MLS members/users, we are located in a part of the world that has little(significantly less) mapping coverage details then the likes of other areas such as the US, UK, Canada, and so forth. We have a WMS map source that provides very up to date aerial imagery of our area, and OSM provides more far greater street level detail then does Google.

    In addition to the above-mentioned, I would like to know if it would somehow be possible to integrate some functionality from the map layer to the form field of a new listing(or when editing an existing listing). We have a map source that we can receive in WMF or PostgreSQL/PostGIS that provides CLAVE numbers for each and every property within the Los Cabos municipality. This is important for our membership, because the majority of the members either do not know the CLAVE numbers to the respective property/listing, or end up entering the wrong CLAVE number. So what we would like to do is, at minimum, provide a WMS map layer, so that when the user zooms to a certain level(zoomed way-in) to place the ‘push-pin marker’ on the map(this populates the lat/lon coordinates fields)the CLAVE number and boundary for the given property is displayed, and upon placing the ‘push-pin marker’ we would like the CLAVE from this map layer to populate the TITLE NUMBER field in the FlexMLS system, thus ensuring the broker/agent has entered the correct CLAVE number into the system for their particular listing(s).

    Thank you, and I look forward to your response,

    Eric Jarvies

  2. admin says:

    Eric, I’ll have your rep contact you to discuss your questions.