Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

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.

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

and i did concat them into one variable called address.

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.