Skip to content

Map images missing tiles or grid rendering incorrectly.  #36

@timothymarois

Description

@timothymarois

Preview:
Screenshot 2019-03-30 23 01 00

 var humanitarian = L.tileLayer('https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
		    maxZoom: 17, attribution: ''
        });
        
        var osm = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '' });

        var clouds = L.OWM.clouds({showLegend: false, opacity: 0.5, appId: 'xxxx'});
        var rain   = L.OWM.rain({opacity: 0.5, appId: 'xxxx'});
        var city   = L.OWM.current({intervall: 15, lang: 'en'});

        var map = L.map('weatherradarmap', { center: new L.LatLng(app.location.latitude, app.location.longitude), zoom: 6, layers: [humanitarian] });
        var baseMaps = { "OSM Humanitarian": humanitarian };
        var overlayMaps = { "Rain": rain, "Cities": city };
        var layerControl = L.control.layers(baseMaps, overlayMaps).addTo(map);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions