Hover States on Polygon Data

Leo Kacenjar's Avatar

Leo Kacenjar

29 Aug, 2011 08:38 PM

Hi,

I was wondering if it was possible to include rollover effects in a tileset. I know tooltips are possible, but I'd like to change the polygon fill or or stroke. Thanks.

  1. Support Staff 2 Posted by Will White on 29 Aug, 2011 08:58 PM

    Will White's Avatar

    Hi Leo,
    For performance reasons, TileMill maps don't send exact geometry to the browser. Instead it breaks features up into rough grids and sends that data. Unfortunately, this makes it impossible to do feature highlighting or outlines with TileMill maps. This feature is something we plan to explore in the future.

    Will

  2. 3 Posted by Leo Kacenjar on 29 Aug, 2011 10:31 PM

    Leo Kacenjar's Avatar

    Hi Will,

    I appreciate the help. I was able to get pretty close just adding a similar data layer on top of my map with open layers. Then you can harness their style objects/events. Thanks again.

  3. Tom MacWright closed this discussion on 30 Aug, 2011 12:51 PM.

Comments are currently closed for this discussion. You can start a new one.