This discussion is archived
5 Replies Latest reply: Jul 8, 2013 10:31 PM by Fa RSS

Redline (Line) with AnyIteract

Fa Newbie
Currently Being Moderated

Hi,

I am using the following lines of code to select features from a polygon layer by using the Redline (Line)  tool.

var filter = new OM.filter.AnyInteract(geometry_of_redline_line);

vectorLayer.selectFeatureByFilter(filter);

I expect it returns all of the features from vectorlayer that interact th e Line. But it only returns polygons that interact with the vertices of Line tool (redline).

Using: oraclemaps version 2 javascript API

http://i43.tinypic.com/1zlc4mr.png

Image and video hosting by TinyPic

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points