[Geomoose-users] Edit select type attributes in vector layer.

Mark Volz MarkVolz at co.lyon.mn.us
Tue Nov 19 07:35:37 PST 2013


Luis,

I am NOT the expert on this, but I would check and see if "(%)" is legal or not by removing those characters from the label.

Mark Volz, GISP
GIS Specialist

From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Luis Calisto
Sent: Tuesday, November 19, 2013 9:02 AM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] Edit select type attributes in vector layer.

Hi,

I'm working with the vector layers and the feature attribute edit tool, all works great but i can't put working an attribute that is configured in the mapbook with the type "select".

In the demo mapbook example, the vector layer "sketch" there is a commented line:

<attribute name="opacity" type="select" default-value="100" label="Opacity (%):"/>

If i uncomment this line when i select the "edit attributes" tool it gives this error in the console: "Uncaught TypeError: Cannot call method 'getElementsByTagName' of null "

I changed the attribute options in the mapbook demo to:

<attribute name="opacity" type="select" default-value="100" label="Opacity (%):">
                      <option value="0">0</option>
                      <option value="50">50</option>
</attribute>

But same error! Any idea? Is it possible to use the select type in the vector attributes?

Best regards
Luís Calisto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20131119/896ffee7/attachment.html>


More information about the Geomoose-users mailing list