210
Views
4
Comments
Google Address Map Component
Question

I am building an e-commerce application on the OutSystems web (OS 11). There, I have stored the seller's address in the database of OutSystems. While viewing the product detail I want the google map to locate to the corresponding seller's address as per fetched from the database. Here  I am using the Google Maps API from the forge component. In the Google Maps API, I am using the "Address Map Component".

Now the main problem is when I pass the address to the Address field of the "Address Map Component" from the stored address in the database, the map is not showing any location. Instead, it is always locating the "Ocean". 

Can anyone help me to solve this problem?  Or can anyone guide me on how to use the Address Map Component properly?


Ospic1.png
2018-09-27 18-20-33
Swatantra Kumar
Champion

Hi Nandik, 

On forge there are dozens of goole maps component. Which specifice forge component are you using?

Is it Google Static Maps API?

Regards,

Swatantra

2020-09-08 03-30-07
Nandik Devbhuti

Swatantra Kumar wrote:

Hi Nandik, 

On forge there are dozens of goole maps component. Which specifice forge component are you using?

Is it Google Static Maps API?

Regards,

Swatantra

Hi Swatantra,

No, I am using the forge component named Google Maps. 

I am attaching a screenshot of the forge component for better clarification. 

Regards,

Nandik Devbhuti

osPic3.png
2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Nandik,

I believe you have to provide a valid API key in order to use the component, have you done that?

Also, in order to debug it properly, it could be interesting if you create a very simple screen with an input where the user can type an address and then display that address on your map, just so you can quickly try things like accepted address formats and such.

Cheers

2019-07-26 07-21-47
Abdul quadir Saifee

Jorge Martins wrote:

Hi Nandik,

I believe you have to provide a valid API key in order to use the component, have you done that?

Also, in order to debug it properly, it could be interesting if you create a very simple screen with an input where the user can type an address and then display that address on your map, just so you can quickly try things like accepted address formats and such.

Cheers

 

 Agree, and this is how we always should start. And you should pass latitude and longitude to mark on map along with address.

Also in addition please go through this link of documentation of forge:

https://www.outsystems.com/forge/Component_Documentation.aspx?ProjectId=680&ProjectName=google-maps 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.