Page 1 of 1

CGGoogleMaps 2.3.1: How to use

Posted: Fri Aug 10, 2012 7:45 pm
by gully
Feeling a bit stupid asking this (but I've searched and searched) .. best info found so far is 'help.inc'.
Create a map. Give the map a name, and adjust the paramters of the particular map to meet your liking.
I'm stuck after clicking 'Add Map', where you see:

*Map Name:
Description:
Other stuff below.

Questions:
Is the map created in the description field?
Could someone share some code as an example? That might be enough for me to get a handle on this.

Thanks all.
/gully

Re: CGGoogleMaps 2.3.1: How to use

Posted: Fri Aug 10, 2012 11:30 pm
by Dr.CSS
You went to the Modules Help page..?

Re: CGGoogleMaps 2.3.1: How to use

Posted: Sat Aug 11, 2012 1:54 pm
by gully
Yes - that's the 'help.inc' with the quote, above.

Expanded here:
How Do I Use It?
* Install the module via the normal methods
* Setup your users and groups with the appropriate permissions:
* The 'Manage Maps' Permission allows administrators to add/edit and delete maps
* The 'Manage Map Locations' permission allows administrators to add/edit/delete points within a map

* Create a map. Give the map a name, and adjust the paramters of the particular map to meet your liking. Note that when resetting one of the map templates to defaults, you must still press the "Apply" or "Apply" buttons.

* Mark one of your maps as default, by clicking on the red 'X' beside a particular map. This is useful if you don't specify the 'map' parameter on the tag.

* Create one or more points within the map, either by specifying a latitude and longitude, or with an address.

* Add the {CGGoogleMaps} tag inside the content block of a page, or inside a page template. Then you're finished.
Question: How is the map created? Where is it created?

There's reference to the authors site for more info. Best I could locate (via Google) is: http://www.google.ca/#hl=en&safe=off&sc ... leMaps+2.3

--> http://calguy1000.com/news/24/15/blog.html
CGGoogleMaps 1.2

This module is a replacement for Dick Ittman's GoogleMap module. It provides much more functionality, and is easier to use. This version adds support for different marker icons for each map point, and adds the ability to change the default map icon.

I use this new functionality to provide a google map with different icons for different companies as listed in the company directory module..... Stay tuned to my blog for an upcoming tutorial on how to do this.
The best I could find.

Is there a doc file? thanks.
/gully

Re: CGGoogleMaps 2.3.1: How to use

Posted: Sat Aug 11, 2012 2:17 pm
by gully
Here's where I'm at:

Re: CGGoogleMaps 2.3.1: How to use

Posted: Sat Aug 11, 2012 4:13 pm
by gully
Guessing ....

ADD MAP
admin/moduleinterface.php?mact=CGGoogleMaps,m1_,admin_add_map,0&_sx_=562d048a
ENTERED:
*Map Name: map1
Description: map one test

[SUBMIT]
RESULT:
admin/moduleinterface.php

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Using Firebug 1.10.2 to check communication.
POST

Parts

mact CGGoogleMaps,m1_,admin_add_map,0
_sx_ 562d048a
m1_cg_activetab maps
m1_submit Submit
m1_name map1
m1_description <---------------EMPTY
m1_default_icon dd-end
m1_type hybrid
m1_width 400
m1_height 400
<snip>
See: RESPONSE.Headers-POST.Parts.txt attached


----------------------------------------------

Cms Version: 1.11

Installed Modules:

CMSMailer: 5.2.1
FileManager: 1.4.0
MenuManager: 1.8.2
ModuleManager: 1.5.5
News: 2.12.7
Search: 1.7.6
ThemeManager: 1.1.7
CGExtensions: 1.30
JQueryTools: 1.1
Showtime: 3.2
jQuery: 1.2.0
FormBuilder: 0.7.3
CMSPrinting: 1.0.2
TinyMCE: 2.9.11
CGSimpleSmarty: 1.5.2
MicroTiny: 1.2.3
CGGoogleMaps: 2.3.1


Config Information:

php_memory_limit: 32M
process_whole_template:
output_compression: false
max_upload_size: 16000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 32M
max_execution_time: 300
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 16M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


----------------------------------------------

I'm lost where to look ... Wish there was a simple step-by- step (w/screens) . I'll help! :)

Re: CGGoogleMaps 2.3.1: How to use

Posted: Sun Aug 12, 2012 5:37 pm
by gully
Might have found something, (or not): moduleinterface. php ADD MAP SCREEN (browser-view)

Code: Select all

<div class="pageoverflow">
  <p class="pagetext">Description:</p>
  <p class="pageinput">
          <textarea id="m1_description" name="m1_description" cols="80" rows="20" ></textarea><br/><input type="checkbox" checked="checked" onclick="toggleEditor('m1_description');" id="check_m1_description" /><label for="check_m1_description">Use WYSIWYG editor</label>
    
      </p>
</div>
[]Use WYSIWYG editor
The 'Description:' field will /NOT/ toggle, and stay fixed in WYSIWYG.

Also: Is there an <input type> missing for textarea?

Grasping for something ... ;) thks

Re: CGGoogleMaps 2.3.1: How to use

Posted: Tue Aug 21, 2012 3:49 pm
by gully
bump -- anyone? thanks

Re: CGGoogleMaps 2.3.1: How to use

Posted: Fri Sep 28, 2012 6:26 pm
by paulbaker
@gully did you ever get this working? I feel your pain.

Basically the issue is the module help page says:
Create one or more points within the map, either by specifying a latitude and longitude, or with an address.
But it's not clear how to do this.

There are boxes for latitude and longitude which I have entered but this simply centres the map about that point.

I am using CMSMS 1.11.2 (latest) and CGGoogleMaps 2.4.2 (latest).

???

Re: CGGoogleMaps 2.3.1: How to use

Posted: Mon Oct 01, 2012 7:02 pm
by gully
Greetings Paul,

Nah, it didn't work out. Tried a few things, eventually giving up. :(

We found a reasonable solution through signing up for Google DOCS -> Google Maps.

Thanks for asking. :)

Re: CGGoogleMaps 2.3.1: How to use

Posted: Tue Oct 02, 2012 11:32 am
by faglork
paulbaker wrote:
Create one or more points within the map, either by specifying a latitude and longitude, or with an address.
But it's not clear how to do this.
Once you have created the map, you will find it in the "Maps" overview. To the right, you will notice four symbols - the first one is a tiny red marker "button". Click this and you can enter marker points.

I admit it took me hours to find that out ...

hth,
Alex

Re: CGGoogleMaps 2.3.1: How to use

Posted: Tue Oct 02, 2012 2:43 pm
by paulbaker
@faglork OMG you're right! Thank you very much for pointing that out!

Attached, for the rest of us, is the icon, as it appears in 1.11.2. With an arrow so you can find it. ;D
CG Google Maps admin area
CG Google Maps admin area
Suggestion to Calguy - improve module help by adding "Click Maps tab and then red map marker on right hand side to " before existing text "Create one or more points within the map, either by specifying a latitude and longitude, or with an address."

Re: CGGoogleMaps 2.3.1: How to use

Posted: Mon Oct 29, 2012 8:25 pm
by elkman
Can anyone tell me how to call a dynamic map point when an address is not available using only latitude and longitude?

Thanks,
Elkman