Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

tutorial for using Google Maps and Markers in Ionic

Hello Ch,

Sorry, I'm not sure I understand you correctly, could you please specify you are talking about tabs in the header or some other tabs? And please specify what king of project you are using - JQM or Ionic/Bootstrap?

ch
Posts: 0
Joined: Wed Dec 23, 2015 3:48 pm

tutorial for using Google Maps and Markers in Ionic

ionic and the tabs component that you put in a page. height = 100% works if you put a google map directly on a page but not when you put a map as content in a html object in a tab. There only px works as height.

One other question I have is how to call a scope function on a page when you use IONIC and use a button i page header.

Scenario.
1) You go to the page you want to view
2) Then you want to call a scope function on that page by clicking on a button in the header. There should be an easy way to do it but I can't figure out how

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

tutorial for using Google Maps and Markers in Ionic

Hello,

Please add that function (with a name = "myFunction") to the index page and use an attribute "ng-click" on that button from the header = myFunction()

hh
Posts: 0
Joined: Sat Feb 04, 2017 10:07 am

tutorial for using Google Maps and Markers in Ionic

the solution for the height problem is that one must use vh instead of %

Return to “Issues”