Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gmap
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
gmap
Commits
4c7366bc
Commit
4c7366bc
authored
16 years ago
by
Brandon Bergren
Browse files
Options
Downloads
Patches
Plain Diff
More array docs. Only one section left!
parent
cccd5461
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
help/array.html
+35
-11
35 additions, 11 deletions
help/array.html
with
35 additions
and
11 deletions
help/array.html
+
35
−
11
View file @
4c7366bc
...
...
@@ -425,6 +425,12 @@ Addon modules can add more types of overlays.
<h3>
MARKERS
</h3>
<p>
Markers are point features on a map. They are placed somewhere on the globe and can
optionally be programmed to show an information window when clicked.
</p>
<p>
Any additional keys / values you put in a marker array will be passed to the
javascript side automatically. This is very useful when writing custom code.
</p>
<pre>
$marker = array(
'
<a
href=
"#ma-lat"
>
latitude
</a>
' => 0.000, // Marker latitude.
...
...
@@ -440,7 +446,6 @@ Addon modules can add more types of overlays.
);
</pre>
<p>
Here is a description of the keys of a marker array.
</p>
<ul>
...
...
@@ -615,9 +620,32 @@ Addon modules can add more types of overlays.
</dl>
</li>
opts
options
<li><a
name=
"ma-options"
>
options
</a>
<dl>
<dt>
Values:
</dt>
<dd>
array('',...)
</dd>
<dt>
Description:
</dt>
<dd>
This is used similar to how
<a
href=
"#tl-behavior"
>
behavior
</a>
works at the map level.
</dd>
<dt>
Example:
</dt>
<dd>
<pre>
array('autoclick');
</pre>
</dd>
<dt>
Notes:
</dt>
<dd>
Available options:
<dl>
<dt>
autoclick
</dt>
<dd>
Automatically causes a click event on this marker.
Useful when you want to automatically show an info window.
</dd>
</dl>
</dd>
</dl>
</li>
<!--
<li><a name="ma-foo">foo</a>
...
...
@@ -636,13 +664,9 @@ options
</ul>
<hr
/>
TODO STUFF BELOW THIS POINT
<hr
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment