Map not showing citynames or weather symbols

More
10 years 8 months ago #3194 by jfch
Hi Dima

Thank you again for quick answer.

I use a total of 33 different maps at my site, and I call each map in different articles with:

{zhgooglemap:xx}
(xx = id of map)

Where do I put your suggested:

#GMapsID_com_content_article_181_0_25_map

Also, I added into custom.css which overrides all other css-files:

img {
border: none;
height: auto;
}

But I can't get it to work.

Best
Joergen

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #3195 by Dima
I suggest you to put it in template.css file of your current template

Look ant my doc wiki.zhuk.cc/index.php?title=Zh_GoogleMa...g_template_CSS_files

Open your file in admin panel, and and into end of this file

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #3197 by jfch
Hey Dima

I added to template.css:

img {
border: none;
height: auto;
}

Next, I copied a ZH Weather module and position-named it zhgooglemap_k - in ID i put this:
GMapsID_com_content_article_181_0_25_map

then in Croatia-article I placed this command:
{loadposition zhgooglemap_k}

But then browser shows this error:
Map not found with ID= GMapsID_com_content_article_181_0_25_map

I know I am doing something wrong. Can you please tell exactly what command to use for it to work?


Best
Joergen

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #3198 by Dima
To override img properties you should use

max-width: none !important;

Check your current applied styles.

As for module - you have to enter Map ID value to my module, because you can display any map by module

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: jfch

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #3199 by jfch
Thank you very much!

Now it works great :-)


Best
Joergen

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #3207 by jfch
Hey Dima

I am very sorry to open this thread again, but the change I made to the css-file makes some unwanted side-effects.

Some pictures on the site is now way to big, as the weather symbols on this page:
vejrtjek.dk/vejrudsigter/detaljeret-vejrudsigt-for-cypern

Do you think you will fix the problem in future versions of your great component?


Best regards
Joergen

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds

Donate


Go to top