×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Menu to category with kml file doesnt work

Menu to category with kml file doesnt work 10 years 4 months ago #26957

  • Tibor Jozsef Virag
  • Tibor Jozsef Virag's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hi Daniel,
First time when i made a category and filled up by kml file then tried to make a menu for it but it's showing empty map, see attached pic1 on the top.
But if I open another menu, which is pointed to another category and on the top I click to this category it's working, see attached pic2 on the bottom.
i62.tinypic.com/156v7gp.png
Any help appreciated.

Menu to category with kml file doesnt work 10 years 4 months ago #26958

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You don't have any hotspot in that category, right? You can't use the "center by marker bounds" option in the menu. You need to switch to default marker center & then the map will load as expected. If you add any hotspot to that category you'll be able to use the "center by marker bounds" option.

Regards,
Daniel
The following user(s) said Thank You: Tibor Jozsef Virag

Menu to category with kml file doesnt work 10 years 4 months ago #26960

  • Tibor Jozsef Virag
  • Tibor Jozsef Virag's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Thank you so much ;) it's showing now. Just one thing what I'm missing from there. The created hotspot shows the customized icon but others from kml file still showing by default, see attached pic. Is there any way to get my custom icon for all of them?
Attachments:

Menu to category with kml file doesnt work 10 years 4 months ago #26961

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You have to specify the icon you want to use in the kml file itself. When you upload a KML file, we don't manipulate it in any way. We just give it to the gmaps api and they show it. So if your KML file hasn't specified what icon should be used, then take the standard one.
Here is a question about that on stackoverflow:
stackoverflow.com/questions/4209632/kmllayer-custom-icons

I think that there should be an option in google earth to specify your marker. You can just give them then the link to the icon on your site.
Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.100 seconds