如何处理大量数据以显示在谷歌地图中所需的代码...... [英] How to handle large amount of data to display in Google maps required code...

查看:91
本文介绍了如何处理大量数据以显示在谷歌地图中所需的代码......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helo现在我已经完成了3个项目,每个项目我都完成了谷歌地图模块...在每个项目中我都有共同的疑问,我们可以在谷歌地图页面中以秒为单位处理/显示大量数据,但它是对我来说是不可能的,所以任何人都可以帮助我有没有办法处理大量的数据应该在很短的几秒钟内显示在谷歌地图上。请提前告诉我最好的方法。



这是我的示例代码

Helo still now i done 3 projects ,and each project i done google map module...in every project i have common doubt that can we handle/show large amount of data in fraction of seconds in google maps page but it is not possible for me ,so anybody can help me is there any way to handle large of data should display in google map in small fraction of seconds.tell me the best ways, thanks in advance.

this is my sample code

function InitailizeDefaultMap() {
try {
var myOptions = {
center: new google.maps.LatLng(18.0000, 79.5800),
zoom: 11,
mapTypeId: google.maps.MapTypeId.HYBRID,
streetViewControl: false,
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.DEFAULT
}
}
mapForCanvas = new google.maps.Map(document.getElementById('divMapCanvas'), myOptions);
}
catch (e) {
throw e;
}
}





我的尝试:



i使用javascript从数据库中获取数据(c#代码隐藏)以显示在谷歌地图中我希​​望以秒为单位的任何其他方式



What I have tried:

i used javascript to get data from database(c# for codebehind) to show in google map i want any other way to this in fraction of seconds

推荐答案





引用这个来解决你的问题。



映射多个位置和大型数据集 [ ^ ]


这篇关于如何处理大量数据以显示在谷歌地图中所需的代码......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆