Questions tagged [google-map]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
1answer
708 views

Google Static Map API specifically for HTML Email?

Has anybody ever tried using Google Static Map API or something similar to generate dynamic map images to be used within HTML emails? There's over 2k store locations and I'm wanting to avoid ...
0
votes
0answers
323 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: ...
1
vote
2answers
458 views

Create a map showing all town locations

I have a custom object on SalesForce called clients. This object contains address line 1, town and postcode fields. I am looking for a way to show all the towns on one map as we would like to be able ...
0
votes
1answer
562 views

Turns address into latitude and longitude coordinates

How to retrieve or get the lat/lon by providing the address?, I'm using Google places auto-complete API and you typed the address in the auto-complete text-box and you select the address and the ...
-1
votes
2answers
653 views

How to Retreive Standard Google Map Lat/Lng

I have my VFP where user can search the address as shown in the attached screen shot and the marker pops-up once it selected the address, this is all good but my question is: How can I get the lat/...
0
votes
2answers
3k views

How to place the google map address in account object?

I have created visual force pages for Google map using auto complete functionality. It's working fine in visual force page only but I need to place the account object in billing and shipping address. ...
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
3answers
6k views

Google Maps not rendering with 100% height

I have a simple page with a search that shows the results throught the Google Maps API. The problem is, when I put on CSS height:100%, the map dont shows up. If I change it to 500px, it works fine. ...
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
1answer
2k views

Access Javascript variable inside of an Apex:repeat

I am currently trying to add some customer markers to a map. I can add a single marker to the map but when I move that same logic inside of an Apex:repeat I no longer have access to the map variable. ...
1
vote
1answer
69 views

Adding Apex pages to lead layout page

I'm trying to add a Google Map to my lead page layout. I've made the page in Apex, how do I insert into my lead page layout? Alongside my custom fields, etc? Thanks!
0
votes
1answer
864 views

Google Map on salesforce custom object detail page [closed]

I am not able to view the map on the Custom object detail page. I am able to save the page, and also I am not getting any errors, but still unable to view anything Please help me with the possible ...
1
vote
1answer
672 views

Google Maps - How do I Add Info Window to Marker? [closed]

I am developing a page where a user can press a button on an account and a map will display with markers created for each nearby account. I have been able to create the markers for each account, ...
2
votes
1answer
2k views

returning distance in soql select

Has anyone found a way to use the DISTANCE function in a SELECT phrase. I've seen how to use it in the WHERE and ORDER BY clauses, but what I'm trying to do is something like... SELECT id, name, ...
2
votes
1answer
128 views

Simulating containers from VF layout editor on page w/o sObject

(n.b. While the underlying problem described here was originally asked days ago, this posting asks for assistance from a totally different perspective) I have a VF page containing a map that works ...
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 ...
2
votes
1answer
625 views

Disable Google maps for few pagelayouts/objects

Right now you can enable or disable the google maps feature by going to Customize > Maps and Locations > Settings -> Enable Maps and Location Services This will either enable or disable for all ...
2
votes
2answers
588 views

apex:mapMarker marker events and color

I'm looking to add some of the new apex:map functionality to one of the orgs I manage. While it's pretty fantastic how they've made it so easy, there's also some basic things I've noticed lacking. ...
1
vote
0answers
874 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 ...
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. ...
1
vote
1answer
598 views

Autocomplete in google map

I had wrote a script to use the Google map in Vf page. I want to use i want to use the auto complete city text box. Can you help me out Guys. Here is my script:- <script> var marker=null ; ...
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 ...
1
vote
1answer
163 views

Google Maps… What about Google Earth Code

I have this code which only shows the google map. I would like to have another code that shows "EARTH" and a seperate code for "Tilt View" So I will have 3 different maps. An example is like this......
3
votes
1answer
2k views

Enable VisualForce Map Component apex:map

I have found to my delight that there is now a standard map component. However, it is apparently not enabled for my org. How do I enable them? Is this feature still in beta? All the listed features ...
3
votes
1answer
1k views

Google maps api request from apex batch

everyone. I am trying to run batch, wich will fill the geolocation field on accounts. And for now, i have an issue with http request, that fails. so, here it is public static String[] ...
1
vote
1answer
462 views

Geo location not visible

Hi I have used the below code but the map not showing in visualforce page. Code: <apex:page> <html> <head> <title>Geolocation</title> <style> ...
0
votes
1answer
118 views

Googlemap Not visible in Vf Page

I have used the below code and it is worked fine while runing as HTMl file. But if I used with the Visualforce page. the map not visible. Map not showing please look the below image. Googlemap code ...
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 ...
1
vote
1answer
323 views

How to find whether Google Maps API is licensed or not? [closed]

I am using Google maps API in my salesforce application. I am using this javascript file https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places to integrate my application with google ...
2
votes
1answer
944 views

Is it possible to use the setHeader method on HttpRequest Class to set the referer?

Using an Apex callout to Google Maps geocoding API, I want to authorize narrowly within Google to protect the client ID from being reused by anyone else. I believe the referer header needs to match ...
1
vote
1answer
1k views

Salesforce1/Google maps tutorial example now shows blank page

About two months back, I was tinkering with the Salesforce1 warehouse tutorial ( Salesforce1 Mobile Workbook. It's the one where you show the location of your warehouses (Salesforce data) on a Google ...
2
votes
1answer
312 views

How to navigate to Salesforce Account record on clicking the Google Map marker

I am displaying all account record close to my current location on Google Maps. I need to navigate a user to the particular account record in Salesforce once he chooses a marker on the map and clicks ...
3
votes
1answer
1k views

google map not showing on Visualforce page

I am trying a very simple exercise to display a google map on visualforce page. But nothing is showing up. Below is my page code - <apex:page controller="SampleLocation"> <head> &...
0
votes
1answer
154 views

Page lifecycle reading query parameters and executing

I have a working view and controller. I've added a custom link to accounts/leads that passes the id and type in the query string to an page and here the controller should then load some data according ...
3
votes
2answers
801 views

Visualforce - Apex - Google maps

I have been trying to get something to work with Google maps in combination with Apex and Visualforce pages, but I can't figure out what I'm doing wrong. What I want is to set different icons with ...
1
vote
1answer
400 views

generate signature in apex to call Google Geocoding API but Signature not valid on certain postal code

I hope the title is correctly defined.I am passing postal code to Google Geocoding API and required to generate signature with private key provided.I successfully generate the key based on reference ...
3
votes
2answers
9k views

Simple way to generate object from JSON that return from Google Geocode API?

I receive JSON file from Google API Geocoding.Refer to JSON file here.Is there any other easy way to extract the data from this JSON in Apex?I want to retrieve a state value and result status code ...
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 ...
1
vote
1answer
2k views

How to display Google Map based on Latitude and Longitude?

I am using google map based on billing address field its works fine. But now i need to display the map based on Latitude and Longitude value, when i given using the latitude and longitude value it is ...
0
votes
1answer
2k views

Google maps for SalesForce

I am trying to use Google Maps for my Organizations SalesForce account. We have around 100 users and they might access map frequently. Should I get any licence to use Google Map API ? I found this ...

1
2