php - Google maps slow from mysql table -


i reading mysql tables , generating xml file: https://developers.google.com/maps/articles/phpsqlajax_v3

to generate map, generate json file.

my database contains several thousand records, generates 5000+ lines of json.

the mysql query result different depending on many settings, , needs accessible multiple users @ same time.

each time map loaded, json file parsed, map loads in 3-6 seconds (depend client device).

is there way speed process, or alternative way achieve same result?

any suggestion welcome.

// cédric

i don't see enough detail give specific advice, if in situation first question be: absolutely necessary load entire 5k lines of json each time map loaded? kind of data json contain that's being needed @ once? whole point of ajax load parts of resources they're resources (and google maps master @ this); i'd way load highest-level or most-immediate data when map first loads, load in more needed later on.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -