Graphics Reference
In-Depth Information
Compared to the conventional map symbol in section 7.1.2 with static values,
this component now depends on inputting the values. We can accomplish this
with the following script in the compositionReady event of the target com-
position:
sym.getSymbol("MapComponent").setVariable("title",
"Brighton Pavilion Theatre");
sym.getSymbol("MapComponent").setVariable("map",
'<iframe width="425" height="350" frameborder="0"
scrolling="no" marginheight="0" marginwidth="0"
src="https://maps.google.de/maps?hl=de&amp;q=jenners
tr+k%C3%B6ln&amp;safe=off&amp;ie=UTF8&amp;hq=&amp;hne
ar=Jennerstra%C3%9Fe,+50823+K%C3%B6ln,+Nordrhein-West
falen&amp;t=h&amp;z=14&amp;ll=50.953236,6.931193&amp;
output=embed"></iframe><br /><small><a href="https://
maps.google.de/maps?hl=de&amp;q=jennerstr+k%C3%B6ln&
amp;safe=off&amp;ie=UTF8&amp;hq=&amp;hnear=Jennerstra
%C3%9Fe,+50823+K%C3%B6ln,+Nordrhein-Westfalen&amp;t=h
&amp;z=14&amp;ll=50.953236,6.931193&amp;source=embed"
style="color:#0000FF;text-align:left">LargerMapview</
a></small>');
The above method is a simple way to create libraries with configurable
components.
 
Search WWH ::




Custom Search