Search…

X3 Photo Gallery Support Forums

Search…
 
psuppan
Topic Author
Posts: 8
Joined: 01 Nov 2014, 05:24

GOOGLEMAP

12 Aug 2017, 09:18

hello
is it possible to add easy a google map with different marker
i need to show the people of my site some infos like this:

https://developers.google.com/maps/docu ... kers?hl=de

thanks Peter
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: GOOGLEMAP

12 Aug 2017, 10:45

The answer is basically YES, but I can't write the code for you to add your custom Google maps javascript solution. If you already have the javascript code ready to create your custom map,  I can help integrate it into your X3 website. Basically, you would add the javascript directly to the CONTENT section of the page where you want the map to render ... Just like in the example in that link.
 
psuppan
Topic Author
Posts: 8
Joined: 01 Nov 2014, 05:24

Re: GOOGLEMAP

13 Aug 2017, 13:18

thank you
here is my test site http://seeoase.su/x3/galleries/sample/
how can i align the 2nd map more left because the mapwindow should be 1280x960
so you can not see the share button and Fullscreen button on the 2nd map....
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: GOOGLEMAP

14 Aug 2017, 01:25

Why are you setting fixed pixel width though? Clearly, this will not convert to mobile devices or even medium-sized screens (iPad's and small laptops). Map elements on pages should distribute to 100% of their content container, just like in our sample page. Surely there are settings for this in the maps API.

There is an option in your page > context setting to set WIDE width (100% browser width) of the content, but then you may need to use html to manage the width of elements in your content. X3 allows full flexibility to set ANY width for the page content (where you have the maps), including 100% browser width, but you will have to plan implementation of your custom content accordingly.

If you set your map widths to 100%, it would look nice like this:
Image
 
psuppan
Topic Author
Posts: 8
Joined: 01 Nov 2014, 05:24

Re: GOOGLEMAP

14 Aug 2017, 03:52

fine thank you for me it works well now....