[Cartoweb-users] Make a plugin that show images from db

Karol Briones karolitab at gmail.com
Fri Nov 21 09:13:32 EST 2008


Hi Oliver,
thanks for your help, I will try to do my plugin and as soon as it has post.

Thanks and regards,
Karol

2008/11/21 Oliver Christen <oliver.christen at camptocamp.com>

>  Hi
>
> I can only give you some examples of code which you can get inspiration
> from.
>
> for an example of plugin that recover the clic on map, see
> http://www.cartoweb.org/cwiki/HowToGetXYCoordinatesOnClick
> this plugin return a simple message (...addMessage...) but you can query a
> database instead, see the "locate" plugin for example of database query.
> there are several other plugin also doing database queries.
> to display the image, I would say the easiest way would be to make your
> plugin use ajax, so you can recover the image and open it easily via a
> javascript popup.
> read the doc http://www.cartoweb.org/doc/cw3.5/xhtml/user.ajax.html and
> you have examples in pretty much all plugins in Cartoweb.
>
> regards
> Oliver
>
>
> ----- Original Message -----
> *From:* Karol Briones <karolitab at gmail.com>
> *To:* cartoweb-users at lists.maptools.org
> *Sent:* Wednesday, November 12, 2008 5:59 PM
> *Subject:* [Cartoweb-users] Make a plugin that show images from db
>
> Hello, I try to make a plugin that query the DB by sending the points from
> the map and show the corresponding image of the point in a diferent page,
> please someone that can helpme, I'm new user sorry for my english.
>
> Thanks and regards,
> Karol
>
> ------------------------------
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20081121/808119f3/attachment.html


More information about the Cartoweb-users mailing list