lcollong
FabriKant d'applications web
Hi,
I'd like to show on a map a filtered number of markers. These markers are the result of some complex filtering made by the user on a list view. The map uses a different list on the same underlying SQL Table. The idea is to have a link on the list view "see you selection on the map" which will display another page with the corresponding markers.
I'm aware of (and use) the possibility to combine both map and list on the same page and share the same filtering result using content plugin inside an article or displaying map on top or bottom of a list view.
But the underlying list are not the same and I need that map and list are on separate pages.
Is there a way to "catch" the filter thing ($this->filter) from the list view and apply it to the underlying list used by the Gmap as the columns are the same ?
Using sessions vars ? using templates to to set and assign things ? using the php_events plugin to set filters (onFiltersGot ?)
Any trick to make me on the road is welcome...
Thanks,
Laurent
I'd like to show on a map a filtered number of markers. These markers are the result of some complex filtering made by the user on a list view. The map uses a different list on the same underlying SQL Table. The idea is to have a link on the list view "see you selection on the map" which will display another page with the corresponding markers.
I'm aware of (and use) the possibility to combine both map and list on the same page and share the same filtering result using content plugin inside an article or displaying map on top or bottom of a list view.
But the underlying list are not the same and I need that map and list are on separate pages.
Is there a way to "catch" the filter thing ($this->filter) from the list view and apply it to the underlying list used by the Gmap as the columns are the same ?
Using sessions vars ? using templates to to set and assign things ? using the php_events plugin to set filters (onFiltersGot ?)
Any trick to make me on the road is welcome...
Thanks,
Laurent