Reply To: Responsive needed

Home Forums Feature Requests Responsive needed Reply To: Responsive needed

#14039
Chris
Keymaster

@sage, % width should work fine with PHP. Please provide your code and a link to the map.

A common mistake is to use % height, which will always return zero unless your page has a fixed height defined for the body tag.

For width you should be able to do something like this, assuming your map is ‘$map’:


$map->width = '80%';
$map->display();