#openlayers

Events happening in the community are now at Drupal community events on www.drupal.org.
designguru's picture

Saving the state of Layerswitcher/Blockswitcher using Open Layers

I'm currently rebuilding a Drupal 7 website which had some custom modules coded for the following purposes:

<

ol>

  • Creating a legend using the Base Layers and Overlay/Layers to display as a block next to a views-powered map.
  • Save the legend state with hooks every time a node form is saved/altered - the state was dumped into a plain text field on the node hidden from the node author and public (to then be loaded upon node display so that the map loads with the active layers visible when the node was saved.)
  • Read more
    mastermindg's picture

    SOLVED: OpenLayers Exposed Form in Block

    I have an OpenLayer map with an exposed filter for location. It works fine as long as the filter in on the page but when I try to move it to a block (Exposed form in block) it's not passing the Great-Circle variable contextually. This is causing my results to be inaccurate.

    The URL is: http://themonger.com/geolocation/?q=locator

    Any help is greatly appreciated!

    Read more
    Subscribe with RSS Syndicate content