A versatile and lightweight toolkit for building a simple web map.
This project is maintained by bcgov
The Base URL is what resources used by SMK used to resolve their relative URLs when they are loaded.
This value defaults to base path of smk.js
that is loaded by the src
of the containing <script>
element.
smk-base-url
AttributeNot required, default is base path of smk.js
Used by the SMK <script>
element.
Sets the base URL for SMK resources.
<script src="smk/dist/smk.js"
smk-container-sel="#smk-map-frame"
smk-base-url="smk/dist"
></script>
baseUrl
OptionNot required, default is base path of smk.js
Used by SMK.INIT
.
Sets the base URL for SMK resources.
SMK.INIT( {
containerSel: '#smk-map-frame',
baseUrl: 'smk/dist'
} )