在ColdFusion管理员界面中,您可以存储Google Maps API密钥。我遇到的问题是试图弄清楚如何在代码中引用这个键?我在文档中没有看到任何内容。
有没有人有任何想法?
答案 0 :(得分:2)
它会在<cfmap>
标记中自动使用。
<cfmap centeraddress="Los Angeles City Hall, 100 N Main St., Los Angeles, CA" />
示例来自:http://www.isummation.com/blog/new-coldfusion-9-feature-cfmap/
另见:https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-m-o/cfmap.html