Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [lightning-map]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

How to show the lightning-map location list on the bottom?

Normally, the location list is shown on the right side like this: That is until you have a lot of markers - around 100 in my case. The map looks awful with many markers but users noticed that it ...
Semmel's user avatar
  • 2,497
0 votes
0 answers
51 views

Google map with API key not allowing marker change

I'm currentlly working on a LWC to open up a google map. This map receives some coordinates that come from another integration, and then the final user has to be able to move the marker to the exact ...
Renzo Gambino Fornasin's user avatar
1 vote
1 answer
132 views

How to customize the lightning-map location list?

Is it possible to modify how the locations on the right are displayed? And if so - how? I can control the title but below it, it will always display either latitude and longitude or the address. It ...
Semmel's user avatar
  • 2,497
0 votes
0 answers
24 views

GeocodeService.Search returns ZERO_RESULTS From some values

Lightning map works good for most of records we used, but for some returns zero results. We have a for describing purpose i cut out &callback=XXX&key=YYY&token=ZZZ from each link below ...
BearsTester's user avatar
0 votes
1 answer
41 views

Cannot get lightning-map in LWC to refresh

This works to display some accounts in a given zip code on a map, but after it has worked once, I cannot get it to change to another zip code when clicking "Search" again. Interestingly, if ...
number41's user avatar
  • 960
0 votes
0 answers
103 views

Show URL in the title of LWC lightning-map

The image from my Lightning web component That's what I want to achieve I am implementing lightning-map for one of my clients. I actually need to show the URL or a button that would open google map ...
Areeba Irfan Ullah Khan's user avatar
0 votes
1 answer
112 views

Use SVG in Static Resource with LWC:Map

I am implementing the LWC Map component as defined here. I want to implement a SVG Icon on the map, and I can successfully do that by defining a path definition but I'd like to store the ICON as a ...
BritishBoyinDC's user avatar
0 votes
0 answers
138 views

LWC lightning-map get current position of center

Im using lightning-map to show account positions. This map has filters to show/hide different types of accounts, that means that the marker list will get updated everytime a filter is changed. The org ...
David Elias Carrasco's user avatar
1 vote
0 answers
86 views

Using custom shape type with the LWC Base Map Component

I am trying to implement the option of "Marking Locations with Shapes" in the LWC Base Map Component as outlined here: https://developer.salesforce.com/docs/component-library/bundle/...
BritishBoyinDC's user avatar
0 votes
1 answer
120 views

lightning-maps footer - guest users can't open in google maps without login

I create a custom lightning web component and utilized the lighting maps element which quite simply is configured as... <lightning-map key={res.resId} map-markers={...
Crash667's user avatar
  • 239
1 vote
2 answers
252 views

How can I remove or change the icons from the listView field from the lightning-map?

Explaining my question: I want to be able to remove, and-or change the green icons in the "listview" field. (circled in red) Would this be possible? My HTML Code: <template> &...
Pinto's user avatar
  • 128
0 votes
1 answer
208 views

How can I move the list-view field from the lightning-map to the bottom of the map?

To explain my question: I have the "list-view" as visible, so I can see all the map-markers addresses. Its working correctly for me, but Its populating on the right-hand side of my map. I ...
Pinto's user avatar
  • 128
-2 votes
2 answers
322 views

Show icon map -- Lightning map LWC

Hello guys I am working on a LWC that contains a lightning-map. The apex controller brings to the javascript wire method a list of different records that come from different objets. so for this case I ...
Rash's user avatar
  • 1
0 votes
1 answer
918 views

Uncaught promise in LWC

Hello everybody I am getting the next error: 'Uncaught (in promise) ReferenceError: LWC component's @wire target property or method threw an error during value provisioning. Original error: [...
user avatar
0 votes
2 answers
627 views

Lightning Map with apex list LWC

Hello everybody I am currently working in a LWC Lightning map where I want to show a list of directions saved in an Address field of an SObject. But I am having some troubles. I read the lightning-map ...
user avatar
0 votes
2 answers
618 views

LWC lighting-map not showing custom icons

I'm trying to create a map and I need to add a custom icon as there will be two types of markers on it. I've been following the documentation almost verbatim but I still get the standard icon on my ...
Gusk's user avatar
  • 260
0 votes
1 answer
194 views

'Open in Google Maps' button text is not clear in lightning-map component because of branding theme

I am using lightning-map component , the footer button 'Open in google maps' text is not seen because of the brand theme we use. Unfortunately we cant change the branding theme. Is there a way to set ...
Sowmya's user avatar
  • 1
1 vote
1 answer
531 views

How to change the lightning-map marker icon to current object icon?

I am trying to change the default red map marker in the lightning-map using mapIcon property of mapMarkers. What I want is to get the current object's icon and show it as map marker. PS - I am able to ...
Ravi Sharma's user avatar
0 votes
1 answer
223 views

Lightning-Map Runs Outside Container On Mobile

I've been trying to figure out how to get a lightning-map to not overflow on mobile, but everything I seem to try to get it to stay contained will not work. Has anyone had to work with this before and ...
Jack Gimbert's user avatar
1 vote
2 answers
477 views

Why does LWC map behave differently when put in lightning communities?

I have this map component that shows the info window when one clicks on a marker but the nothing happens when I put the same component in communities. Is there an extra configuration step I need to do?...
Pauline's user avatar
  • 375
1 vote
1 answer
1k views

How to dynamically append to a lightning map marker list

I am building a LWC which shows markers on a map after a user searches for an item. I have tried to create the markers dynamically but I can't seem to get the proper way of doing it. I have an array ...
Pauline's user avatar
  • 375
0 votes
1 answer
81 views

Why is my lightning map disappearing after a split second?

I am trying to use a lightning map in communities to visualize some data and I started by using the example in the documentation to simulate what I need. I want to have two options. Either show a list ...
Pauline's user avatar
  • 375
1 vote
1 answer
831 views

Looking for options to Overcome lightning-map Property Limitations using LWC

I have a working solution of marking Salesforce Account Address/co-ordinates on google map using lightning-map component. However, I am looking for options to include non-standard (properties not ...
ForceJourney's user avatar
2 votes
0 answers
2k views

Lightning-map select marker

I have a lightning-map component in my LWC component. I hide the list of markers as I do not like what the component has and provide my own. If user clicks on a marker in the map, I can handle and ...
zaitsman's user avatar
  • 1,930