Groups
Groups
Sign in
Groups
Groups
Google-Maps-API-Japan
Conversations
About
Send feedback
Help
マーカーマネージャの表示件数のカウント方法について
61 views
Skip to first unread message
フェラーリ
unread,
Jul 22, 2009, 9:41:43 PM
7/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
一度に表示できるマーカの表示制限は1000件のようですが、
そのカウント方法について質問です。
下記の様なソースにイメージで作成しています。
var map;
function load(){
if (GBrowserIsCompatible()) {
// ここで、マーカマネージャをしようしてズームレベルによってマーカを設定しています。
}
}
知りたいと思っているのは、実際に表示する際(ズームレベルによって)の件数制限が1000件なのか、設定件数が1000件なのか知りたいと思っていま
す。
もし、設定件数での制限の場合、マーカの設定で1件なのか、ズームレベルごとに1件なのかがわからないところです。
(例として、ズームレベル10から12まで同じマーカを設定した場合、
3件としてカウントするのか、1件としてカウントするのか)
よろしくお願い致します。
Masashi.K
unread,
Jul 22, 2009, 10:51:43 PM
7/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
フェラーリさん
1000件ってどこに書いてありますか?
リファレンスを確認してみましたが、どこにも書いてなかったようですが・・・。
フェラーリ
unread,
Jul 23, 2009, 4:18:30 AM
7/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
On 7月23日, 午前11:51, "Masashi.K" <
wf9a5...@gmail.com
> wrote:
> フェラーリさん
>
> 1000件ってどこに書いてありますか?
> リファレンスを確認してみましたが、どこにも書いてなかったようですが・・・。
フェラーリ
unread,
Jul 23, 2009, 4:20:17 AM
7/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
Masashi.Kさん
このディスカッションで1000件の表示はできるが、それ以上になると表示できなと
いう記事をみたので、てっきり1000件の制限があると思ってしまいました。
正確には、制限はないのでしょうか?
Masashi.K
unread,
Jul 23, 2009, 4:45:38 AM
7/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
制限はないと思いますよ。
少なくともMarkerManager.jsには、それを制限するコードはなかったです。
1000件ってのは、パフォーマンス的に「まぁその辺りが限度」って話ですね。
最近のPCだと、パワーがあるので1000件くらいだと表示できますよ。
(重いですけど)
> > リファレンスを確認してみましたが、どこにも書いてなかったようですが・・・。- 引用テキストを表示しない -
>
> - 引用テキストを表示 -
Message has been deleted
Mitu-Koike
unread,
Jul 23, 2009, 5:23:57 AM
7/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
>フェラーリさん
お世話になっております。
どこかのディスカッションにも書きましたが、マーカーを大量に置くのであればFlashAPIを使うのも手ですよ。
Flashであればそこそこの量の表示ができると思います。
Masashi.Kさんがおっしゃるように、マーカーの表示件数についての制限は無いはずですが、
ChromeやFirefoxでも1000件の表示はキツかったです。
1回で大量に表示させる必要性が無いのであれば、サーバアプリの併用(Ajax)で小出しするようにしてみたらどうでしょう?
フェラーリ
unread,
Jul 23, 2009, 7:59:06 AM
7/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
Masashi.Kさん
Mitu-Koikeさん
お世話になっております。
1画面に対して、大量といっても最大に表示して100件くらいだと思っています。
それよりも、イニシャル時にマーカマネージャに登録する件数がかなりあるような
感じです。(複数の画面のデータを一度に設定するため)
> どこかのディスカッションにも書きましたが、マーカーを大量に置くのであればFlashAPIを使うのも手ですよ。
> Flashであればそこそこの量の表示ができると思います。
> 1回で大量に表示させる必要性が無いのであれば、サーバアプリの併用(Ajax)で小出しするようにしてみたらどうでしょう?
表示に関して、あまりにもパフォーマンスが出ないようであれば検討する必要がありそうですね。
それよりも、イニシャル時に時間がかかる可能性がありそうです。
ありがとうございました。
Reply all
Reply to author
Forward
0 new messages