[fusion-users] RedLine

Zac Spitzer zac.spitzer at gmail.com
Wed Feb 24 08:30:25 EST 2010


which version are u running?

On Wed, Feb 24, 2010 at 4:33 AM, Josvil <josue.villarreal at gmail.com> wrote:
>
> Hi,
> Using the widget Redline, add two icons, one to create points and the other
> to create lines, the problem is as follows:
> When I click on the icon of the point and then click on the icon of the
> line, gives the following javascript error:
>
> "this.activeControl is null"  Redline.js line 216
>
> What causes the need to hit back on the line icon to activate the
> functionality.
>
> Then place the code used:
> "   <Widget xsi:type="UiWidgetType">
>      <Name>dibujarPunto</Name>
>      <Type>Redline</Type>
>         <Extension>
>        <FeatureStyle>
>          <fillColor>#0f0Ff0</fillColor>
>          <strokeColor>#0133F1</strokeColor>
>          <strokeWidth>2</strokeWidth>
>        </FeatureStyle>
>          <DefaultControl>Point</DefaultControl>
>          <activeControl>Control</activeControl>
>      </Extension>
>      <ImageUrl>images/icons/point.gif</ImageUrl>
>      <Tooltip>Crear un punto</Tooltip>
>      <StatusText/>
>      <Disabled>false</Disabled>
>    </Widget>
>
>    <Widget xsi:type="UiWidgetType">
>      <Name>dibujarLinea</Name>
>      <Type>Redline</Type>
>      <StatusItem>Digitizing tool</StatusItem>
>      <Extension xsi:type="CustomContentType">
>        <FeatureStyle>
>          <fillColor>#FFFFFF</fillColor>
>          <strokeColor>#FFFFFF</strokeColor>
>          <strokeWidth>2</strokeWidth>
>        </FeatureStyle>
>        <DefaultControl>Line</DefaultControl>
>        <activeControl>Control</activeControl>
>      </Extension>
>      <ImageUrl>images/icons/linea.gif</ImageUrl>
>      <Tooltip>Dibujar línea</Tooltip>
>      <Disabled/>
>    </Widget> "
>
> Any information about it please warn me
>
> Greetings
> --
> View this message in context: http://n2.nabble.com/RedLine-tp4620450p4620450.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the fusion-users mailing list