简体   繁体   English

Google MAP V2自定义信息提示框

[英]Google MAP V2 custom info bubble

is there any possibilities that we can add a custom info bubble like the one found in this website? 是否有可能像我们在本网站中找到的那样添加自定义信息提示框? http://app.bg . http://app.bg The website uses v3. 该网站使用v3。 However, I need to have a custom info bubble, I am using mapstraction and it is using the v2 api instead of v3. 但是,我需要有一个自定义信息气泡,我正在使用mapstraction,并且它使用的是v2 api而不是v3。

Do you mean v2 of Mapstraction or Google Maps? 您是说Mapstraction还是Google Maps v2?

If you're using Mapstraction then the same code should work in whatever version of Google Maps you're using. 如果您使用的是Mapstraction,则无论您使用的是哪个版本的Google Maps,相同的代码都应该可以使用。

The Mapstraction method you're looking for is Marker.setInfoDiv - documentation for Mapstraction v2 is here . 您要查找的Mapstraction方法是Marker.setInfoDiv-Mapstraction v2的文档在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM