Page 1 of 1

GOOGLEMAP

Posted: 12 Aug 2017, 09:18
by psuppan
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

Re: GOOGLEMAP

Posted: 12 Aug 2017, 10:45
by mjau-mjau
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.

Re: GOOGLEMAP

Posted: 13 Aug 2017, 13:18
by psuppan
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....

Re: GOOGLEMAP

Posted: 14 Aug 2017, 01:25
by mjau-mjau
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

Re: GOOGLEMAP

Posted: 14 Aug 2017, 03:52
by psuppan
fine thank you for me it works well now....