Skip to main content
Question

Google Map API Broken Link instead of Map Showing Rich Text Field

  • January 28, 2022
  • 0 replies
  • 59 views

Forum|alt.badge.img+6
Hi community,

I have been wracking my brain trying to figure out why I am getting a broken link with my Google Map API Rich Text Field.  Below is a picture of what shows and below that the code.  I don't know what I am doing wrong :(, any help would be so amazing and I would be forever grateful:


Code:

var number zoom = ToNumber(If([GeotagMap_zoom]="", "", [GeotagMap_zoom]));


"\n<img src='https://maps.googleapis.com/maps/api/js?key=MYAPIKEY&callback=initMap"
&
[Customer - ServiceAddress]
&
"&zoom="
&
$zoom
&
"&size=512x512 &maptype=roadmap\n\n&\n\nmarkers=size:med%7Ccolor:blue%7Clabel:G%7C" //size and type of map, color and label of pin

Other code I Have tried:

<img src='https://maps.googleapis.com/maps/api/staticmap?center=&key=MYAPIKEY"
<img src='https://maps.google.com/maps/api/staticmap?center=&key=MYAPIKEY"

MYAPIKEY is just filling in where my API key from google will be placed. 

My API key that I got from google does not have an underscore just one long alpha-numeric key.

------------------------------
Lija Harris
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • January 28, 2022
if that \n is really there, get rid of it.

"\n<img src='https://maps.google     etc.......

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------