Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: Google API in Design Studio

$
0
0

thanks to Michael and his examples i designed component.

 

google.maps.event.addListener(  polylines[i],  "click",  function Clicked(event) {

       for (var j = 0; j < map.polylines.length; j++) {

            if (map.polylines[j].type == this.type) {

                 _filterParam = map.polylines[j].type;

                 that .firePropertiesChanged([ "filterParam" ]);

                 that .fireEvent("setFilters");

                 break;

            }

       }

  });

 

....

this.filterParam = function(value) {

  if (value === undefined) {

  return _filterParam;

  } else {

  return this;

  }

  };

 

...

in .ztl

 

String getFilterParam() {*
return this.filterParam;
*}

Viewing all articles
Browse latest Browse all 9021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>