Oops sorry, I mean removing the callbacks onSelect and onUnselect still
results in the same error.
S.D.
samd wrote:
>
> Using the callbacks encounter the same problem.
>
> There is a difference between yours and mine though in terms of the
> polygons are created as a result of an AJAX callbac
Using the callbacks encounter the same problem.
There is a difference between yours and mine though in terms of the polygons
are created as a result of an AJAX callback.
S.D.
Eric Lemoine-3 wrote:
>
> On Jan 18, 2008 9:50 AM, Pierre GIRAUD <[EMAIL PROTECTED]> wrote:
>> Sorry, I have no clue.
On Jan 18, 2008 9:50 AM, Pierre GIRAUD <[EMAIL PROTECTED]> wrote:
> Sorry, I have no clue.
>
> I tested the following code (adapted from yours) in the
> select-feature.html example [1] and it worked great :
That it exactly why I suggested to try with the onSelect and
onUnselect callbacks removed.
Sorry, I have no clue.
I tested the following code (adapted from yours) in the
select-feature.html example [1] and it worked great :
var polygonAreaPoints = [
new OpenLayers.Geometry.Point(0, 0),
new OpenLayers.Geometry.Point(10, 0),
new OpenLayers.Geometry.Point(10, 10),
new Open
Do you have the problem if you remove the onSelect and onUnselect
callbaks from the select feature control options?
2008/1/18, samd <[EMAIL PROTECTED]>:
>
> Hi I was discussing this in a previous message but created a new one since
> it
> is a different topic.
>
> When I am using a select control
Hi I was discussing this in a previous message but created a new one since it
is a different topic.
When I am using a select control on a polygonLayer such as the following:
selectControl = new OpenLayers.Control.SelectFeature(polygonLayer,