Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Googlemaps change custom directives attribute value is not working

$
0
0

@roxette22 wrote:

up vote
0
down vote
favorite
I'm working on google map. I want change the markers set base on dropdown select. But the problem is that the element that I bind is not recoginized by angularjs: the {{markers}} in markers attribute was passed as string.. upon inspecting it passed the "{{markers}}" once I removed the {{}} I get error..

<div style="padding-top:100px;padding-left:40;">
   <input type="search" id="search" placeholder="Search" ng-model="mymarks">
  <button class="button" ng-click=""  title="search"> test</button>
   </div>

   <app-map id="appmap" style="height:700px;margin:0px;"
        center="loc"
        markers="{{mymarks}}"
         zoom=14  >

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



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