83
Views
10
Comments
Solved
How to use map in outsystems
Question
Application Type
Reactive

Hi i'm iver developing a boarding house finder.


Is it possible that i dont have a latitude and longitude on my Entity? i just want it to be like, when i click on the map when creating a boarding house there will be a marker on the map and my boarding house information id will be save on that marker, now when i click on that marker (Homepage Map) my boarding house info will show on the marker.


It's my first time using Maps.


I will paste below the oml with the API Key. I just badly need help on this function.


Regards,

Iver

BUNKBUDDYmap.oml
UserImage.jpg
Iver Fuensalida

Hi @Rajat Agrawal,

I saw the documentation but their entity has latitude and longitude, i just want the on click marker function. i don't want to put lat and long on my entity, i already tried experimenting on it but i can't seem to pull it off


i am using outsystems map not google map library so the reference doesn't pretty much help.


Regards, 

Iver

UserImage.jpg
Iver Fuensalida

This is where i found the logic. Thanks bro @Rajat Agrawal, been a big help ever since. Thank you!



2024-12-18 16-06-42
Junaid Syed

Hi Iver,

This seems to be similar to this post from you, if that is the case please don't open multiple threads rather add more details on the original post if you could not provide them while describing your problem the first time.

Thanks,

Junaid

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

I closed that post, discussion can continue in this post.

UserImage.jpg
Iver Fuensalida

hi @Vipin Yadav,


I've already read the documentation but it has a lat and long attribute, there is no documentation and example for what i want. Already looked on it.


Regards,

Iver


UserImage.jpg
Iver Fuensalida

I already got the click event on the map, but what i want is when i create a boarding house info that info will be saved along with that marker. i want to save that marker on the map also with the info of the bhouseinfo it was created with, so when i click the marker popup in the map (i will put it on the Homepage) a pop up will show with the boarding house info.

 

now when i click the Save on Form1 the marker i clicked on the map will be saved on the map with the info of the boarding house i created.


Regards,

Iver

2024-12-02 12-08-16
Sarthak Maurya

Hi @Iver Fuensalida

I encountered a similar requirement in my application and found a useful solution with a component that provides latitude and longitude using the "get address" event. You can explore the Google Map Location Picker for Reactive Web and Mobile Apps component available on the OutSystems Forge.

To assist further, I’ve attached an OML file for reference. It might help address the challenges you're currently facing. 

Regards,

Sarthak Maurya

LocationPicker.oml
UserImage.jpg
Iver Fuensalida

Hi @Sarthak Maurya,


Thank you for the effort. I already got it but now i can't paste the oml because it's too big. But, still thank you for the reference.


Thanks, 

Iver 

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