Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > googlemap not displaying correctly View modes: 
User avatar
Member
Member
burlster1980-hotmail.co - 12/11/2011 8:31:45 PM
   
googlemap not displaying correctly
Hi

Im trying to setup a googlemap webpart to display multiple offices. I've followed the tutorial, but i'm running in to problems

When I add the webpart to the page where the mulitple offices should be displayed, a grey box is displayed (no map). But, when i look at the actual individual office page, the map does display the office marker

So for example I create the page Offices, adding in the webpart. I then create to offices (office 1 and office 2) underneath. If i click on either office 1 or office 2 pages, i will see the individual map and marker. but if i look on the Offices page, the map doesnt display.

I'm not sure why this isnt working (i've attempted leaving the Path blank and entering the details offered in the tutorial - neither work)

Be really grateful for any advice or assistance

Steve

User avatar
Member
Member
kentico_michal - 12/12/2011 2:53:45 AM
   
RE:googlemap not displaying correctly
Hello,

If you want to display child document please make sure you have set the Path property to the following vaue ./% and the Document types property contains a list of all document types you want to display.

Anyway, what version of Kentico CMS are you using?

Moreover, have you applied the latest hotfix for your current version?

Could you please post here the export of the web part properties (click the link Export webpart properties at the bottom of the web part properties)

Best regards,
Michal Legen

User avatar
Member
Member
burlster1980-hotmail.co - 12/12/2011 5:07:09 AM
   
RE:googlemap not displaying correctly
Hi Michal

Thanks for getting back to me - im using v5.5r2, not sure about which hot fixes have been applied.

As far as i'm aware, i've applied the correct settings for both Path and Document type - the settings are below

Webpart properties (Google maps)

Alias path: /Office
Zone ID: zoneRight


Default


Web part control ID: GoogleMaps

Web part title:

Disable view state: False

Disable macros: False


Visibility


Visible: True

Hide on subpages: False

Show for document types:

Display to roles:


Content


Path: /{0}/%


Content filter


Document types: CMS.Office

Combine with default culture:

Culture code:

Maximum nesting level: -1

ORDER BY expression:

Select only published: True

Select top N documents:

Site name:

WHERE condition:

Filter out duplicate documents: False


Transformations


Transformation: CMS.Office.Preview


Map properties


Google maps key:

Large view scale: 7

Detailed view scale: 10

Width: 400

Height: 400

Default latitude: 50.5

Default longitude: 50.3

Latitude field: OfficeLatitude

Longitude field: OfficeLongitude

Tooltip field: OfficeName

Show map type selection: True

Show zoom control: True

Show map overview: True


Web part container


Web part container:

Container title:

Container CSS class:

Container custom content:


HTML Envelope


Content before:

Content after:


AJAX


Use update panel: False


Time zones


Time zone: inherit

Custom time zone:


Partial caching


Partial cache minutes:

Partial cache dependencies: ##DEFAULT##

User avatar
Member
Member
kentico_michal - 12/12/2011 7:17:50 AM
   
RE:googlemap not displaying correctly
Hello,

Could you please try to use as a Path expression this value: ./%

It means that all documents under the current document will be displayed.

If it does not help, could you please let me know what browser are you using?

Best regards,
Michal Legen