且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用 wordpress 创建交互式地图

更新时间:2022-12-03 17:32:48

您可以尝试使用 Google Geochart API 创建类似的地图.它允许创建交互式地图并捕获点击事件.您可以在此处找到更多信息和示例:https://developers.google.com/chart/interactive/docs/gallery/geochart

You could try to use the Google Geochart API to create a similar map. It allows to create interactive maps and to capture click events. You can find more information and examples here: https://developers.google.com/chart/interactive/docs/gallery/geochart

我为使用此 API 的 WordPress 创建了一个插件.它集成了所有需要的脚本,并允许从管理面板构建地图.您可以在此处找到更多信息:http://meisterpixel.com/interactive-map-builder/

I created a plugin for WordPress that uses this API. It integrates all the needed scripts and allows to build a map from the admin panel. You can find more information here: http://meisterpixel.com/interactive-map-builder/