For Case 1: I believe that if you want to create a vector layer (on the client side), you will have to send data in a format that someone else will be able to read. In other words, if OpenLayers can read/decode it, someone else will be able to do so also.
If you really want to only expose a picture of your data and not the data itself, I recommend looking into creating your own WMS service using OpenLayers to display the image of the data as returned by your WMS. David. On Tue, Dec 7, 2010 at 10:06 AM, Mihai Visan <[email protected]> wrote: > Hi everybody, > > This probably have been talk already but I wasn't a menber then. > > I haveĀ 2 simple question: > > Case 1: > Let's say I have a MySql table with some data that I don't want to expose to > public. I know that I can read data from an xml, but xml files can be "read" > by others and I don't want this. Is there a way I can create an Vector layer > vith multiple data directly from an MySql querry? > > Case 2: > I request dota shown in map (vectorl layers active or note with different > data) from an form. What is the best way to comunicate betwen form and > OpenLayers Map? > > Thanks for help, > > By the way I stiil wait some help with my previos post: "custom Lat and Lon > display in wrap data line help needed" > Mihai > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
