Questions tagged [google-map]

The tag has no usage guidance.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
2answers
325 views

Page renders properly only if showHeader=“false”

I have a page that will render properly only when showHeader="false" in the apex:page tag. When it's set to true I get the following... However, when it's set to false, I get a full-page map from ...
4
votes
1answer
3k views

How to display salesforce data on a Google Map?

I am a beginner user here, but I've been tasked with developing maps of our volunteers. There are two types of volunteers (contacts), CDL Drivers and Plain Volunteers. I have researched a few pages ...
2
votes
1answer
94 views

Is it possible to have a google map fill the page space while having the salesforce header?

Currently I have a google map displaying in salesforce. If I set showheader="false" in the apex page tag, I can set the map div to 100% height. If I set showheader="true" then I need a specific ...
2
votes
0answers
326 views

Draw on Google Map within Visualforce

I'm wanting to be able to free-form draw on top of a map within a Salesforce page if possible. I believe this can be done but am having a hard time getting the code to work. Any help is appreciated. ...
2
votes
1answer
597 views

Nested <apex:repeat> in an <apex:map>

I'm running into some odd errors with a nested apex:repeat inside of an apex:map (on API 34.0). My code looks like this: <apex:map width="500px" height="500px" center="53704"> <...
1
vote
0answers
49 views

Do you have to pay for the Google Maps API in order to use lightning:map feature?

My company has directly used the Google Maps API before and once we got above a certain number of API calls we had to start paying for the service. I've noticed that the lightning:map feature of Aura ...
1
vote
1answer
396 views

lightning:map Account Locator Map markers not showing on map

I created an Account Locator application similar to the one found in the Trailhead example. I altered min slightly as I am using a custom object instead of the account object. I was able to ...
1
vote
0answers
286 views

Enabling CSP unsafe-eval support on other origins

I'm trying to build a component utilising lightning:component (external build) which has a dependency that loads code on init via a script tag. Specifically I'm trying to load content from https://...
1
vote
0answers
32 views

changing the language in the mailing address field into a local language

I have enabled the Map and location settings in my organization to get the address searched. Is there a way to return the address in the local language(just for the address fields) on the detail page ...
1
vote
0answers
875 views

How to set a popup window on markers with Google Maps API?

I have this code where I display and set all my markers. Right now when clicking on a marker, a new tab is opened with the information which is another visualforce page. How can I have this new window ...
1
vote
0answers
516 views

Google Map Issues!

Using VF i am displaying google map based on geolocation field which is a formula field(Lat_Long_Values__c) contain latitude and longitude value. When i run this VF page if there is no value in ...
0
votes
0answers
16 views

Using ORDER BY is not showing every <apex:mapmarker>

I have a query that returns a list of accounts that are close to my "current" Account and I display them in a visualforce page in the form of a googlemap. Here is the query: warehouses = [ ...
0
votes
0answers
39 views

Lightning:Map - information balloon not working when the mouse moves over the Marker

I am using lightning:map to display the accounts on google Map with multiple marker options. Lightning:Map only shows information balloon when we click on the marker or when the account name is ...
0
votes
1answer
85 views

Google Map static map not working in Visualforce pdf

I have a page which is being rendered as pdf and in it there is a google static maps image which is not being displayed. This used to work fine but for some reason seems to have stopped working. The ...
0
votes
0answers
23 views

How to display iFrame embeded in lighting component in IE

I have a VF page to show google map which I embeded as iFrame in lightning component which is used in community page, clickjack or frame-src protection error does not allow it to load in IE/Edge/...
0
votes
2answers
132 views

Alternative for google maps api?

We use geocodes(google map APIs) in our healthcare application to locate how far doctors and clinics are located from the patient. The locations are pointed on the map embedded into salesforce and ...
0
votes
0answers
171 views

Lightning Map Markers not getting populated

I have used lightning:map in one of my lightning component. It is working fine in my laptop but while opening the same in other laptops markers are not getting populated. I have checked location ...
0
votes
1answer
355 views

lightning:recordForm display addresses fields as google maps reference with image

I'm working with lightning:recordForm and when adding an address field it displays like this: And that text is a redirection to the google maps page: But what I really want is that field to have the ...
0
votes
0answers
81 views

Whitelist MyDomain Sandboxes

Now that I'm using MyDomain, I am noticing that sandboxes have a silly domain name associated with them (e.g., mydomain--sandbox.cs43.my.salesforce.com). I'd like to whitelist production and all ...
0
votes
0answers
295 views

How to convert latitude and longitude, received from Google Maps API, to N, S, E, and W coordinates, to be sent to GeoNames webservice?

The requirement is to track a list of Earthquakes after the user inputs the City name. I'm able to successfully send the City (and state + country etc.) name to the Google Maps API of GeoCoding (https:...
0
votes
1answer
49 views

How to display mapMarkers eventhough lat and log is same for multiple records

I am displaying the Accounts in google Maps with Latitude and longitude. But Most of the records has same latitude and logitude. If Suppose latitude and longitude is same for 10 records but in Maps ...
0
votes
1answer
49 views

Render google map in Page Block Section

My Vf page have 3 steps. And I'm try to show google map in step 3. <apex:PageBlockSection title="Google Maps" columns="2"> <body> <input id="pac-input" ...
0
votes
1answer
330 views

Setting up map markers and Info windows using javaScript remoting call

I need to populate a map on visualforce page for the custom object records. I use Javascript Remoting method to get data from the controller and then on basis of the records I create addresses. Once ...
0
votes
0answers
336 views

Visualforce <apex:map> create <apex:mapmarker> on click

I want to be able to capture the location when the user clicks on the window. I just need to store the coordinates, then I can display a map marker. VisualForce Map Code: <apex:map height="...
0
votes
2answers
261 views

Issues With my VF Google Map Page

I have a VF page, integrating with Google Map. I have to load the Google Map with Washington DC. Also need to display a list of Person Accounts coming from my controller(after some search operation). ...
0
votes
0answers
125 views

How to place the Google map Zoom Controller to the Top Right position

I have created a Google Map VF page, using apex:map tag. In the Map, I need to place the Zoom control to the Top Right position(currently its in Top Left position) due to some visibility issue. Is ...
0
votes
0answers
324 views

Multiple marker on google map not working

Vf Page <apex:page standardController="Hotel__c" extensions="HotelList" sidebar="false"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title&...
0
votes
0answers
835 views

Display Near by leads Contacts Accounts on visualforce google map?

Visualforce Page: <apex:page controller="mapController" tabStyle="Contact" action="{!find}" id="page"> <head> <style> div #map_canvas { height: ...
0
votes
0answers
387 views

Search button google map is not working on my vf page

`i am newbie in sales force .I am integrating Google map and there is a field city . along with search button. Google map is showing but search button is not working .. I just want to perform ...
0
votes
1answer
72 views

How to populate multiple coordinates on map

I have two custom objects in Master-Detail relationship, there is a GeoLocation field on child object, now I have to display pin all the location of child record on the Master object page. I am able ...