You need to sign in to do that
Don't have an account?

lightning:map issue
I have piece of code in lightning component which display a map with addresses as follows.
It works perfectly for other cities. I am not able to understand why it works for other cities except the ones I specified.
Can be there be any address limitation issues in sandbox or do we need to purchase some licence?
Pls let me know
thanks
meghna
<aura:component implements="flexipage:availableForAllPageTypes" access="global" > <!-- attributes --> <aura:attribute name="mapMarkers" type="Object"/> <aura:attribute name="center" type="Object" /> <aura:attribute name="zoomLevel" type="Integer" /> <aura:attribute name="markersTitle" type="String" /> <aura:attribute name="showFooter" type="Boolean" /> <!-- handlers--> <aura:handler name="init" value="{!this}" action="{!c.doInit }"/> <!-- the map component --> <lightning:map mapMarkers="{! v.mapMarkers }" center="{! v.center }" zoomLevel="{! v.zoomLevel }" markersTitle="{! v.markersTitle }" showFooter="{ !v.showFooter }" > </lightning:map> </aura:component>
({ doInit : function(component, event, helper) { component.set('v.mapMarkers', [ { location: { Street: '1 Market St', City: 'San Francisco', PostalCode: '94105', State: 'CA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'Worldwide Corporate Headquarters', description: 'Sales: 1800-NO-SOFTWARE' }, { location: { Street: '950 East Paces Ferry Road NE', City: 'Atlanta', PostalCode: '94105', State: 'GA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Atlanta', }, { location: { Street: '929 108th Ave NE', City: 'Bellevue', PostalCode: '98004', State: 'WA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Bellevue', }, { location: { Street: '500 Boylston Street 19th Floor', City: 'Boston', PostalCode: '02116', State: 'MA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Boston', }, { location: { Street: '111 West Illinois Street', City: 'Chicago', PostalCode: '60654', State: 'IL', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Chicago', }, { location: { Street: '2550 Wasser Terrace', City: 'Herndon', PostalCode: '20171', State: 'VA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Herndon', }, { location: { Street: '2035 NE Cornelius Pass Road', City: 'Hillsboro', PostalCode: '97124', State: 'OR', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Hillsboro', }, { location: { Street: '111 Monument Circle', City: 'Indianapolis', PostalCode: '46204', State: 'IN', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Indy', }, { location: { Street: '300 Spectrum Center Drive', City: 'Irvine', PostalCode: '92618', State: 'CA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Irvine', }, { location: { Street: '361 Centennial Parkway', City: 'Louisville', PostalCode: '80027', State: 'CO', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Louisville', }, { location: { Street: '685 Third Ave', City: 'New York', PostalCode: '10017', State: 'NY', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc New York', }, { location: { Street: '1442 2nd Street', City: 'Santa Monica', PostalCode: '90401', State: 'CA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Santa Monica', }, { location: { Street: '12825 East Mirabeau Parkway', City: 'Spokane', PostalCode: '99216', State: 'WA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Spokane', }, { location: { Street: '4301 West Boy Scout Blvd', City: 'Tampa', PostalCode: '33607', State: 'WA', Country: 'USA', }, icon: 'utility:salesforce1', title: 'salesforce.com inc Tampa', }, ]); component.set('v.center', { location: { City: 'Denver' } }); component.set('v.zoomLevel', 4); component.set('v.markersTitle', 'Salesforce locations in United States'); component.set('v.showFooter', true); } })I tested the above code in my local sandbox it works perfectly but when I test this in my client sandbox it doesn't show the marker(white box) for the last 3 citiies i.e Santa Monica, Spokane, Tampa
It works perfectly for other cities. I am not able to understand why it works for other cities except the ones I specified.
Can be there be any address limitation issues in sandbox or do we need to purchase some licence?
Pls let me know
thanks
meghna
I checked in my org it looks fine, can you post screenshot of your issue if poosible
Thanks
Ramesh
In local org it will definitely work but not working in client org. that is the issue I am facing
Now when I click on the last address i,.e Tampa I have posted the screen shot, there is no tool tip displayed
thanks
meghna