Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Problem with using Google Map webpart! View modes: 
User avatar
Member
Member
hungquang_itsyad-yahoo.com - 8/27/2012 3:16:12 AM
   
Problem with using Google Map webpart!
Hi, I use GoogleMaps to show my place. This is my code in contact.aspx

<%@ Register Src="~/CMSWebParts/Maps/Documents/GoogleMaps.ascx" TagPrefix="uc1" TagName="GoogleMaps"%>

<uc1:GoogleMaps ID="GoogleMaps" runat="server" Height="420" Width="650" ZoomScale="17" Scale="5" ClassNames="CMS.Office" LatitudeField="OfficeLatitude" LongitudeField="OfficeLongitude" TransformationName="CMS.Office.Preview" ToolTipField="OfficeName" EnableViewState="true" Path="/Contact/%"/>


I create new office in menuitem Contact.My place have latitude: 10.752703 and longitude: 106.634674. This is a place in HoChiMinh - VietNam. However, when display on website, this place is in South American, near Venezuela.

How to fix it?

Thank!

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 8/27/2012 11:57:31 AM
   
RE:Problem with using Google Map webpart!
That is indeed strange. That would be in the 10.752703, -69 area.

Just to check something, change the ToolTipField to OfficeLongitude to see what it is outputting.

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 9/7/2012 9:48:11 AM
   
RE:Problem with using Google Map webpart!
Hi,

Which version of Kentico CMS are you using?

I've tested it with 6.0 (one of the current hotfixes - 6.0.46) and it works fine - location shows up in Vietnam...

Thank you in advance for information.

Regards,
Zdenek