Jump to content

Show map always


Valerio

Recommended Posts

Hey there, good afternoon peeps.

I was wondering if any kind soul could help me out with this php code

So basically this is a live map that shows data from a DB when it is available, when there isnt any, the map simply doesnt show (which is exactly what was designed for)

I want to show the map always, even if no data is coming in. Could you please help me.

 

Many thanks.

 

The file is here if anyone would like to have a look at it.

https://drive.google.com/file/d/1-GSMs6kJ-uZ9rUaBPdS9FCWT5POQ6Li-/view?usp=drivesdk

Link to comment
Share on other sites

This will be easier if you can post here the relevant parts of the code, rather than ask people to download something.

In all likelihood, the map and data is going to be gated behind an "if there is data" check. What you do is move the map part out of that check and leave the data part inside.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.