-
Zh GoogleMap
-
Component
-
Map not showing citynames or weather symbols
Map not showing citynames or weather symbols
-
jfch
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 10
-
Thank you received: 0
-
-
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
-
jfch
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 10
-
Thank you received: 0
-
-
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
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
The following user(s) said Thank You: jfch
Please Log in or Create an account to join the conversation.
-
jfch
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 10
-
Thank you received: 0
-
-
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.
-
jfch
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 10
-
Thank you received: 0
-
-
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.
-
Zh GoogleMap
-
Component
-
Map not showing citynames or weather symbols
Time to create page: 0.098 seconds