GeoComponents

This component and the other leaflet component on this site use the well crafted Leaflet package web component ( https://leaflet-extras.github.io/leaflet-map/demo.html). This is not developed by GeoLink but is used as a component and then data bound to the Polymer ( https://www.polymer-project.org/1.0/) Iron-Ajax component. When connected to services that expose the GeoLink data holdings a simple approach to data visualization is the result. This approach is also easy for others to incorporate into their work.

1
2
3
4
5
6
7
8
9
 <leaflet-map latitude="16.5" longitude="-80" zoom="3">
        <leaflet-tilelayer url="https://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/tile/{z}/{y}/{x}" max-zoom="13">
                            Tiles &copy; Esri &mdash; Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri
        </leaflet-tilelayer>
        <template is="dom-bind">
            <iron-ajax url="http://opencoredata.org/api/v1/spatial/expedition/165" auto last-response="{{data}}"></iron-ajax>
            <leaflet-geojson color="#FF0000" data="[[data]]"></leaflet-geojson>
        </template>
</leaflet-map>
Tiles © Esri — Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri