view client/public/index.html @ 3678:8f58851927c0

client: make layer factory only return new layer config for individual maps instead of each time it is invoked. The purpose of the factory was to support multiple maps with individual layers. But returning a new config each time it is invoked leads to bugs that rely on the layer's state. Now this factory reuses the same objects it created before, per map.
author Markus Kottlaender <markus@intevation.de>
date Mon, 17 Jun 2019 17:31:35 +0200
parents 4cebd0a1f41f
children 7a3ace19dc56
line wrap: on
line source

<!--
  This is Free Software under GNU Affero General Public License v >= 3.0
  without warranty, see README.md and license for details.

  SPDX-License-Identifier: AGPL-3.0-or-later
  License-Filename: LICENSES/AGPL-3.0.txt

  Copyright (C) 2018, 2019 by via donau
   – Österreichische Wasserstraßen-Gesellschaft mbH
  Software engineering by Intevation GmbH
-->
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title>gemmajs</title>
    <style>
      html {
        height: 100%;
        width: 100%;
        margin: 0 auto;
      }
      body {
        height: 100%;
        width: 100%;
        background-color: #efefef !important;
      }
    </style>
  </head>

  <body>
    <noscript>
      <strong
        >This webapplication needs Javascript enabled to run. Please enable it
        to continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>