[OpenLayers-Users] Seeking approach over map design

coastalrocket andy at planetnomad.com
Mon Jun 8 06:11:03 EDT 2009


I think my question is, "Is it possible to use ajax techniques to create new
OpenLayer.Marker objects?" And essentially rewrite the client side js that
handles the markers without requesting the entire page. My guess is that
it's not possible.

I've been tasked with building a quick demo site that demos permission at
the object level for a couple of map layers. First thing i thought of was to
use a WMS filter to restrict the view based upon the user's permissions with
those map objects. But of course the WMS filtering is exposed. It's been
suggested to me that we could still use this approach but 'internalise' the
WMS on another port. I'm not sure of the solution but it sounds viable in a
longer time frame. 

As my time frame is short I thought i might avoid the use of the WMS filters
and build my client side javascript openlayers.markers code from the back
end and query the database directly. The only problem i can see with that is
i wouldn't be able to use an ajax technique to refresh the map markers &
info pane. I'd have to create a 'map refresh' button to recreate the entire
page. If i do it this way at least there'll be no WMS exposed but it will be
a bit cruddy.

I'd appreciate some pointers on this from anyone that's gone through the
same,
regards
Andy B
-- 
View this message in context: http://n2.nabble.com/Seeking-approach-over-map-design-tp3042174p3042174.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list