I got a Problem is that,I want to attach google map Api with my text box in this form that i can search my area when i type in that text box mean it work like search when i type in that text box it show me the intelliscence for that related text. The picture of form is attached.In this form the text fields StartPoint and EndPoint want to connect with Google api and search areas from that.
Hi @HN,
Insert a Text input control to enter the location or address for the map: Insert Tab > Text > Text input. Rename the control to txtLocation. Move it to a location in the screen where appropriate.
Change Hint Text as “Enter a location or address” and keep Default as an empty string “” or your favorite location – for e.g. Times Square, New York, Seattle etc...
For rendering the Map, use the following formula in the Image property of the imgMapControl :
"https://maps.googleapis.com/maps/api/staticmap?center=" & EncodeUrl(txtLocation.Text) & "&size=" & txtImageWidth & "x" & txtImageHeight & "&key="&txtGoogleMapsKey.Text
Google Maps: Refer to examples and parameters in the Google Static Maps Developer Guide.
For your reference:
https://powerapps.microsoft.com/en-us/blog/image-control-static-maps-api/
Regards,
Mona
i Don't want to show the map i only want that the when i write in text box it gave me suggestions and i select which i want.
User | Count |
---|---|
262 | |
110 | |
92 | |
55 | |
41 |