how to show map full width,.??
hariadi04 opened this issue ยท 7 comments
hariadi04 commented
hariadi04 commented
solve.
i found it.
thx,.
mannabua commented
hariadi04 what did you do?
hariadi04 commented
mannabua commented
Thanks mate!
โฆOn Feb 20, 2017 10:36 AM, "hariadi04" ***@***.***> wrote:
edit map.php
[image: image]
<https://cloud.githubusercontent.com/assets/10745517/23109963/7484964c-f758-11e6-81bb-ed3dfa7b9c40.png>
โ
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXczUOW9Qf3yBUOdBccGgutcCXZyPnEWks5rePxBgaJpZM4L-jYt>
.
McNamara10 commented
but it's possible setting 100% of width?
Suaz commented
this works for me
$map = new Map([
'center' => $coord,
'zoom' => 17,
'width' => '100%',
'height' => '300',
]);
nicolasecolman commented
@McNamara10 You have to use '100%' instead of a number.
@hariadi04 If you do so, you will have to modify that file every time you install de package with a package manager. You have to pass the with parameter when you create a Map instance (as Suaz commented before).