# wt-security/2.2.1/includes/components/_map_view.php

WebTotem Security, version 2.2.1. 17 lines.

- Page: https://pluginprobe.com/plugins/wt-security/2.2.1/code/includes/components/_map_view.php
- Raw: https://pluginprobe.com/plugins/wt-security/2.2.1/raw/includes/components/_map_view.php
- Modified: 2020-09-10T12:50:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wt-security/2.2.1/code/includes/components/_map_view.php#L10-L20`.

```php
<div class="wtotem_map-block__map">
    <svg
        id="firewallMap"
        height="305"
        width="100%"
    ></svg>
</div>
<div class="firewall">
    <canvas id="firewall" width="100%"></canvas>
</div>


<script>
var waf_attacksMap = <?= json_encode($arguments["waf"]["attacksMap"])?>;
var map_json = '<?= plugins_url('wt-security/htdocs/json/world.json') ?>';
</script>

```
