Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The introduction of ol-iShare brings a new way to generate your LiteMap and the LiteMap Tutorial shows you how to do this. Using ol-iShare to generate you your LiteMap not only gives you a basic map but also the following capabilities :

The hyperlinks below take you to the examples

...

which may be found in the LiteMap Examples:

  • Basic usage - specifying a Profile (iShare MapSource), Layers & initial view

  • Centring on a Device - using the location reported by the browser

  • Centring on a Feature (using WFS) - return a single feature to centre the map

  • Get Layer data - fetch Layer data using map settings.

  • Visually highlight a Polygon - zoom to the extents of a polygon

  • Filtering a WMS Layeretc. - to show a single feature based on a filter

  • Filtering a WMS Layer on datetime - shows how to filter a WMS Layer to only show roadworks that start today

  • History navigation - uses the HistoryNavigation control to move the map between previous locations

  • Remember map state - automatically keeps a track of changes to the map

  • Permalink - basic permalink demonstration

  • Custom Info Template - customising the content shown in the Info popup

  • Query string parameters - specifying the list of layers to load and initial view via the query string

  • 3rd Party components - adding a 3rd party Layer control, gazetteer search & displaying a thematic layer

  • Clustering Points - demonstrating clusters which are circles displaying the number of features they represent

  • Info on hover - display a tooltip on hover

  • Layer switcher - including a layer switcher control and per-layer legend graphics

  • OS Maps API base map - adding a WMTS OS Maps API base map

  • Gazetteer control - adding an autocomplete search control

  • Display marker - display a marker with a custom icon

  • Measure length - using Measure interaction to measure a single distance

  • Measure area - using Measure to measure areas

  • Layer opacity - setting a data layer’s opacity

  • Non-iShare Layers - shows what happens to non-iShare Layers