Closed GoogleCodeExporter closed 9 years ago
Is it happens on every map or on particular map? And what is the size of the
map?
Original comment by passiche...@gmail.com
on 16 Jul 2009 at 7:31
[deleted comment]
Yes. It's a specific map. It's size is 1.11 MB
Even thought the size is big I dont think the application should behave in that
way.
If we can't support maps of that size - we should tell user about that and
don't try
to parse it. So we can download it, check the size, and display error message
to user.
Original comment by Nickolay...@gmail.com
on 16 Jul 2009 at 8:13
Sure. It just can show me where is the problem.
Original comment by passiche...@gmail.com
on 16 Jul 2009 at 8:20
Also it will be good if we can mark such a map in a metamap as TOO BIG.
For example write "The map can't be synchronized because it's too big" instead
of
"Not synchronized", and also display actual size
Original comment by Nickolay...@gmail.com
on 16 Jul 2009 at 8:21
It is necessary to download such a big maps only to tell user about "we can't
support maps of that size"? Can we understand that map is bigger then we can
parse
without downloading?
Original comment by dmitriy....@gmail.com
on 16 Jul 2009 at 8:24
If you'll find the way to get the file size before downloading - then it's good
idea.
Browsers somehow know the size of they file they are downloading, so maybe we
also can.
Need more investigation on this.
Original comment by Nickolay...@gmail.com
on 16 Jul 2009 at 8:29
Ok, I'll do some investigation on this. I think that
connection.getContentLength()
method is all what we need to understand what the size of file.
Original comment by dmitriy....@gmail.com
on 16 Jul 2009 at 9:48
Also we need an investigation on the size of map we can handle.
Is it 500K, 700K or 1Mb? We need to find the limit.
And make some automatic tests.
Original comment by Nickolay...@gmail.com
on 16 Jul 2009 at 9:54
The .getContentLength() really works as we need! Using it we can get size of
file
before downloading.
Original comment by dmitriy....@gmail.com
on 16 Jul 2009 at 10:43
Original comment by dmitriy....@gmail.com
on 17 Jul 2009 at 7:25
Original comment by dmitriy....@gmail.com
on 17 Jul 2009 at 8:00
Original comment by Nickolay...@gmail.com
on 17 Jul 2009 at 2:37
Original comment by passiche...@gmail.com
on 21 Jul 2009 at 9:37
Original issue reported on code.google.com by
Nickolay...@gmail.com
on 15 Jul 2009 at 5:33