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
93da8a1b
Commit
93da8a1b
authored
16 years ago
by
Brandon Bergren
Browse files
Options
Downloads
Patches
Plain Diff
#349318, reported by jeeves: Fix empty map being displayed for 0.00,0.00 locations.
parent
b3053e43
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gmap_location.module
+1
-1
1 addition, 1 deletion
gmap_location.module
with
1 addition
and
1 deletion
gmap_location.module
+
1
−
1
View file @
93da8a1b
...
@@ -672,7 +672,7 @@ function gmap_location_block_view($nid) {
...
@@ -672,7 +672,7 @@ function gmap_location_block_view($nid) {
$count
=
0
;
$count
=
0
;
foreach
(
$node
->
locations
as
$loc
)
{
foreach
(
$node
->
locations
as
$loc
)
{
// @@@ Todo: Client side geocoding
// @@@ Todo: Client side geocoding
if
(
$
loc
[
'latitude'
]
||
$loc
[
'longitude'
]
)
{
if
(
loc
ation_has_coordinates
(
$loc
)
)
{
$count
++
;
$count
++
;
$markername
=
isset
(
$markertypes
[
$node
->
type
])
?
$markertypes
[
$node
->
type
]
:
'drupal'
;
$markername
=
isset
(
$markertypes
[
$node
->
type
])
?
$markertypes
[
$node
->
type
]
:
'drupal'
;
if
(
module_exists
(
'gmap_taxonomy'
))
{
if
(
module_exists
(
'gmap_taxonomy'
))
{
...
...
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