Hi all,

i followed Tamas Blog for embeding Google Maps:

How to embed Google Maps into a Personas 1.0 / 2.0 flavor?

As i have no experiance with Personas 1.0 or 2.0, the blog looked some kind of different then what i was expecting for Personas 3.0.

/wp-content/uploads/2015/06/personas_google_maps1_725516.png

1) Get the API Key from Google

2) Add a HTML Viewer to the Flavor where you want to have the Map (in my case XD03)

3) Script like that:

define the variables for

city,

plz,

street,

house nr

/wp-content/uploads/2015/06/personas_google_maps_script1_725517.png

and i did concat them into one variable called address.

/wp-content/uploads/2015/06/personas_google_maps_script2_725519.png

After that i did concat a fixed value (var lfix including the API Key) with the var “address”. The complete url I did set to the parameter of the HTML Viewer ID called “url”. Then use “show()”

Add the script to a botton on your flavor or on ScreenEvent “onLoad” of the flavor.

That’s it !

There might be easier ways to do this in Personas 3.0 – if so please let me know.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply