Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
dts
 
 
 
 
 
 
sdk
 
 
 
 
 
 
 
 
 
 

Map4D Web SDK

Map4D SDK for Web, written in Javascript.

Map4D Web SDK

Installation

<script defer
  src="https://api.map4d.vn/sdk/map/js?version={SDK_VERSION}&key={API_KEY}&callback={FUNCTION}"></script>

Hello, World

<!DOCTYPE html>
<html>
<head>
  <script defer
    src="https://api.map4d.vn/sdk/map/js?version={SDK_VERSION}&key={API_KEY}&callback={FUNCTION}"></script>
</head>
<body>
  <div id="map" style="width:100%;height:250px;"></div>
  <script>
    function initMap() {
      let options = {
        center: {lat: 16.072163491469226, lng: 108.22690536081757},
        zoom: 15,
        controls: true
      }
      let map = new map4d.Map(document.getElementById("map"), options)
    }
  </script>
</body>
</html>

Document

https://docs.map4d.vn/map4d-web-sdk

License

Copyright (C) 2020 IOT Link Ltd. All Rights Reserved.

About

Map4D SDK for Web

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages