1
0
Fork 0
forked from 0x2620/oxjs

[wip] create LeafletMap using leaflet instead of google maps

This commit is contained in:
Sanjay Bhangar 2023-07-15 20:43:03 +05:30
commit ae2b1854aa
8 changed files with 2443 additions and 3 deletions

View file

@ -5,7 +5,7 @@
<meta http-equiv="Keywords" content="Lists"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="shortcut icon" type="image/png" href="../../../source/UI/themes/oxlight/png/icon16.png"/>
<script type="text/javascript" src="../../../min/Ox.js"></script>
<script type="text/javascript" src="../../../dev/Ox.js"></script>
<script type="text/javascript" src="js/example.js"></script>
<script>window.addEventListener('message', function(e) { e.origin == window.location.origin && eval('(' + e.data + ')'); });</script>
</head>

View file

@ -7,7 +7,7 @@ on a world map.
Ox.load(['UI', 'Geo'], function() {
var $map = Ox.Map({
var $map = Ox.LeafletMap({
keys: ['region'],
markerColor: function(place) {
return Ox.getGeoColor(place.region);