skarun
Posts: 0
Joined: Fri Sep 18, 2015 2:23 am

changing google map size (angularjs/ionic app)

i am referring to this link - https://docs.appery.io/docs/appbuilde... and quickly trying to put a google map. how do i change the control size so that its bigger. cant seem to find any properties for the map control.

skarun
Posts: 0
Joined: Fri Sep 18, 2015 2:23 am

changing google map size (angularjs/ionic app)

appreciate if someone could respond to this.

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

changing google map size (angularjs/ionic app)

Hello,

Yes, it is possible to do.

Please add a class to the map component, e.g. "mymap":
Image

And add a custom CSS into your project with that class, e.g.:
pre.mymap{
height:250px;
width:250px
}/pre

skarun
Posts: 0
Joined: Fri Sep 18, 2015 2:23 am

changing google map size (angularjs/ionic app)

May I know how custom CSS can be added, ie. where it is explained in the docs. thanks for your response.

skarun
Posts: 0
Joined: Fri Sep 18, 2015 2:23 am

changing google map size (angularjs/ionic app)

I got it .. added an HTML component and entered the above code inside

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

changing google map size (angularjs/ionic app)

Hi,

I am glad you got it.

Return to “Issues”