hi Aitor,
I don't know exactly the tool you are trying to get (take a look at
WfsGetFeature.js, line 16, point=extent.getXY(targetNode.evpl); you can use
these techniques to include coords in queries), but to get a new tool in the
toolbar you must:
-Create your own widget (new.js) in lib/widget and a .xsl file
-Declare this widget in your config.xml (take other widgets as
examples)
-Declare this widget in schemas/config.xsd (I did as mb:EditButtonType)
Saludos,
Pere
Aitor Calero Garcia-2 wrote:
>
> Hello everybody, I have started to work with MapBuilder recently. I
> would like to add my own tool but, although I have read a lot of docs
> and tutorials I could not find the way to add a new button in the
> toolbar which allows retrieving and converting user mouse clicks over
> the map into map points coordinates.
>
> Please any advice or starting point will be much appreciated.
>
> Thank you.
>
>
> ------------------------------------------------------------------
> This e-mail and the documents attached are confidential and intended
> solely
> for the addressee; it may also be privileged. If you receive this e-mail
> in error, please notify the sender immediately and destroy it.
> As its integrity cannot be secured on the Internet, the Atos Origin group
> liability cannot be triggered for the message content. Although the
> sender endeavours to maintain a computer virus-free network, the sender
> does
> not warrant that this transmission is virus-free and will not be liable
> for
> any damages resulting from any virus transmitted.
>
> Este mensaje y los ficheros adjuntos pueden contener informacion
> confidencial destinada solamente a la(s) persona(s) mencionadas
> anteriormente. Pueden estar protegidos por secreto profesional Si usted
> recibe este correo electronico por error, gracias de informar
> inmediatamente
> al remitente y destruir el mensaje.
> Al no estar asegurada la integridad de este mensaje sobre la red, Atos
> Origin no se hace responsable por su contenido. Su contenido no constituye
> ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita
> por
> ambas partes.
> Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
> no puede garantizar nada al respecto y no sera responsable de cualesquiera
> danos que puedan resultar de una transmision de virus
> ------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Mapbuilder-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>
--
View this message in context:
http://www.nabble.com/Adding-my-own-click-tool-tf3834592.html#a10857551
Sent from the MapBuilder Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users