metteo/geodatastore

Drawing lines or polygons doesn't work

Closed this issue · 2 comments

What steps will reproduce the problem?
1. Click the poly or line button.
2. Click somewhere on the map.

What is the expected output? What do you see instead?
You should be able to start drawing a line or polygon; instead nothing
happens at all. Firebug returns an error in the console:
geometry.addVerticesInteractively is not a function
geometry.addVerticesInteractively(); 

line 521 is the offender in admin.js. It appears that
addVerticesInteractively was added in a recent update of main.js, but it
does not have any functional code in it yet. I have found some mention of
using enableDrawing() on other pages, but I have not figured out how to
integrate that into this codebase.

What version of the product are you using? On what operating system?
Firefox 2.0.0.14 on WinXP SP2

Please provide any additional information below.


Original issue reported on code.google.com by nderz...@gmail.com on 29 May 2008 at 9:42

Original comment by mano.ma...@gmail.com on 17 Jul 2008 at 12:25

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****
Fixed in r9 by changing that line to enableDrawing.

Please test and see if you see any issues.

Original comment by pamela.fox on 17 Jul 2008 at 5:49

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****