function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
satheesh psatheesh p 

Google map doesn't Show

Hi All,
 I am using Lefleat Packge for display google map but it doesn.t show the map(No error is displayed).in this  link i found 3 packages and try that 3 packages(Uploaded in static resources)but display only empty screen.the soucrce code i am using is given below.


    <aura:attribute name="map" type="Object"/>

    <ltng:require styles="/resource/leaflet/leaflet.css"
        afterScriptsLoaded="{!c.jsLoaded}" />

    <div id="map"></div>


   jsLoaded: function(component, event, helper) {

    setTimeout(function() {
        var map ='map', {zoomControl: false})
                    .setView([37.784173, -122.401557], 14);
                attribution: 'Tiles © Esri'
        component.set("", map);

   width: 100%;
   height: 100%;

waiting for response.

Thank you..