DMXzone Google Maps Support Product Page

Answered

width & height

Asked 14 Oct 2011 16:58:03
3
have this question
14 Oct 2011 16:58:03 barbara windner posted:
Hello to everybody,
is there any possibility to change the width & height from pixel to %, this would be important for different devices like iPhone, iPad...

Thank you for any advices and best regards
Barbara

Replies

Replied 17 Oct 2011 10:58:27
17 Oct 2011 10:58:27 Teodor Kuduschiev replied:
Hello,

You can do this - just enter 100% to width and height of the maps.
You will also need to add this in your <head></head> tags:

<style>
html, body {
	width:100%;
	height:100%;
	padding:0 !important;
	margin:0 !important;
	overflow:hidden !important;
}</style>

Replied 27 Jun 2013 01:29:09
27 Jun 2013 01:29:09 Mark Mooney replied:
<div class="dmxGoogleMaps" id="Threaded_Products" style="width:100%;height:100%;" ></div>

When I use this code, the map doesn't display?
I have added the suggested style to my style sheet.

What am I missing?

This reply was removed on 2/11/2014 3:25:46 AM.
See the changelog
This reply was removed on 2/11/2014 3:25:30 AM.
See the changelog

Reply to this topic