Regarding Pin image on Map

22 views
Skip to first unread message

CHANG SEO

unread,
May 28, 2012, 6:37:29 PM5/28/12
to Kurogo-Dev
I am trying to display Pin image (or any image) on Map of first Map
screen.

feedgroups.ini is as below.

[eastgreenwich]
title = "East Greenwich Maps"
center = "37.42222904525232,-122.0839597145766"
address = "1408 Division Road, East Greenwich, RI 02818"
description = "The brand-new addition to New England Tech, this
facility will eventually house most of the college's departments"


feeds-eastgreenwich.ini is as below
TITLE = "East GreenWich"
BASE_URL = DATA_DIR"/maps/KML_Samples.kml"
SEARCHABLE = 1
DEFAULT_ZOOM_LEVEL = 14
NEARBY_THRESHOLD = 500
NEARBY_ITEMS = 0

KML_Samples.kms is as below

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>Simple placemark</name>
<description>Attached to the ground. Intelligently places itself
at the height of the underlying terrain.</description>
<Point>
<coordinates>-122.0822035425683,37.42228990140251,0</
coordinates>
</Point>
</Placemark>
</kml>

There is no pin image on Map when I click Map icon on home screen.

How can I display pin image on the Map?

(I can see pin image just when I click the link 'Simple placemark' on
List after the Map above.)

CHANG SEO

unread,
May 28, 2012, 8:29:10 PM5/28/12
to Kurogo-Dev
Oh... I think the point is not the above one.
I don't need Map screen just after click the Map icon on Home module
just I need List view.
How can I go to the List screen directly not via Map screen?

Brian Payst

unread,
May 29, 2012, 9:44:48 AM5/29/12
to kurog...@googlegroups.com
For default list view, add this line

SHOW_LISTVIEW_BY_DEFAULT = 1

to /site/<site name>/config/map/module.ini

That worked nicely for me.
Reply all
Reply to author
Forward
0 new messages