Googlemap plugin - empty map

Cvrglj

New Member
I made with Googlemap plugin map of all waste collectors in Slovenia. I use "center map on = Users location" whitch work fine, unless user don't allow "share location" - then map remain empty. I would like that in that case, map center on Default Latitude and longitude - "center map on = Middle" .

http://nova.zeos.si/sl/zbiralnice.html

Thanks for your help!

Nice day from Slovenia,
Darko
 
Ah, yes, thank you for pointing that out, I'd never tested it with denying the location request.

Should be fixed as of this commit:

https://github.com/Fabrik/fabrik/commit/13654e8c3a8f70f289fab0b4a3dedac5f66bb014

You'll need to do a full github update to pick up the changes.

Although I just noticed you asked for "middle" as the fallback, and the code I implemented is the default, which is "last marker, or middle if no markers". But this should at least get you going. Let me know if you really want "middle" as the fallback.

-- hugh
 
I update, but nothing hapened.
Did I have maybe settings wrong?
 

Attachments

  • Selection_013.jpg
    Selection_013.jpg
    36.6 KB · Views: 133
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top