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
Hi @Iver Fuensalida,
Please refer below forum link it will helps you!!
https://www.outsystems.com/forums/discussion/64205/how-to-use-google-maps-library-for-reactive-web-app/
https://www.outsystems.com/forums/discussion/83267/how-to-use-maps/
Rajat
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.
This is where i found the logic. Thanks bro @Rajat Agrawal, been a big help ever since. Thank you!
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
I closed that post, discussion can continue in this post.
I have included a link to a document below that can assist you with using the map.
https://success.outsystems.com/documentation/11/building_apps/user_interface/patterns/using_mobile_and_reactive_patterns/interaction/map/how_to_use_the_map_component/?_gl=1*1yktyvp*_gcl_aw*R0NMLjE3MzIxODE4NTYuQ2owS0NRaUEwZnU1QmhEUUFSSXNBTVhVQk9JdzZZa0FaMUZ0dlhBN3JnQ1BrcGRoazA2V1JqaWFpazhBRFR4U1VCR3BpMmxuZ2Q2UUVxc2FBZ0pSRUFMd193Y0I.*_gcl_au*MjEzNTIxMTgxNy4xNzMxOTk4ODIy*_ga*MjAzMDk1NjU1Ni4xNzE2MTg4MTU1*_ga_ZD4DTMHWR2*MTczMjQ0MTQwNy45Ni4xLjE3MzI0NDE1OTUuNDguMC4w*_ga_HGKNZZMWJS*MTczMjQ0MTQwNy4zOTMuMS4xNzMyNDQxNTk1LjQ4LjEuMTc5NDE5NzM0OA..*_ga_G11QMS1MBT*MTczMjQ0MTQwNy4yODUuMS4xNzMyNDQxNTk1LjAuMC4w
Vipin Yadav
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.
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.
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.
Sarthak Maurya
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.