-
Notifications
You must be signed in to change notification settings - Fork 0
/
giscloud map codes.php
57 lines (32 loc) · 1.28 KB
/
giscloud map codes.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!-- Funções do mapa -->
<div id="toolbar"></div>
<!-- Adiciona o mapa GisCLoud -->
<div id='mapViewer'></div>
<script type='text/javascript'>
giscloud.ready(function () {
var mapId = 603048,
viewer = new giscloud.Viewer('mapViewer', mapId);
new giscloud.ui.Toolbar({
viewer: viewer,
container: "toolbar",
defaultTools: ["pan", "zoom", "full", "select"]
});
});
</script>
<!-- iframe is a tag used to display pages within another page-->
<iframe src="http://editor.giscloud.com/rest/1/maps/603048/render.iframe?toolbar=true&popups=true&layerlist=true" width="600" height="400" frameborder="0"></iframe>
<!-- Funções do mapa -->
<div id="toolbar"></div>
<!-- Adiciona o mapa GisCLoud -->
<div id='mapViewer'></div>
<script type='text/javascript'>
giscloud.ready(function () {
var mapId = 603048,
viewer = new giscloud.Viewer('mapViewer', mapId);
new giscloud.ui.Toolbar({
viewer: viewer,
container: "toolbar",
defaultTools: ["pan", "zoom", "full", "select"]
});
});
</script>