Plugin Directory

Changeset 1634791


Ignore:
Timestamp:
04/10/2017 08:27:15 PM (9 years ago)
Author:
jbd7
Message:

Fix map bug _content and tag version 1.01

Location:
geoflickr
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • geoflickr/tags/1.01/js/geoflickr_map.js

    r1504515 r1634791  
    2020                    description += geodata.photo.location.county._content+", "
    2121                }
    22                 description += "<br/>"+geodata.photo.location.region._content+", "+geodata.photo.location.country._content+". <p style='font-size: 6pt' >Location description as supplied by Flickr. May be incomplete or inaccurate!</p>";
     22
     23                if (geodata.photo.location.region){
     24                    description += geodata.photo.location.region._content+", "
     25                }               
     26               
     27                if (geodata.photo.location.country){
     28                    description += geodata.photo.location.country._content
     29                }               
     30               
     31                description += "<br/>"+". <p style='font-size: 6pt' >Location description as supplied by Flickr. May be incomplete or inaccurate!</p>";
    2332
    2433                var latlng = new google.maps.LatLng(centerLatitude, centerLongitude);
  • geoflickr/tags/1.01/readme.txt

    r1504576 r1634791  
    6666== Changelog ==
    6767
     68= 1.01 (20170410) =
     69* Fixed map not loading when _content is empty
     70
    6871= 1.0 (20160917) =
    6972* Fixed old variables calls with up-to-date ones that support HTTPS
  • geoflickr/trunk/js/geoflickr_map.js

    r1504515 r1634791  
    2020                    description += geodata.photo.location.county._content+", "
    2121                }
    22                 description += "<br/>"+geodata.photo.location.region._content+", "+geodata.photo.location.country._content+". <p style='font-size: 6pt' >Location description as supplied by Flickr. May be incomplete or inaccurate!</p>";
     22
     23                if (geodata.photo.location.region){
     24                    description += geodata.photo.location.region._content+", "
     25                }               
     26               
     27                if (geodata.photo.location.country){
     28                    description += geodata.photo.location.country._content
     29                }               
     30               
     31                description += "<br/>"+". <p style='font-size: 6pt' >Location description as supplied by Flickr. May be incomplete or inaccurate!</p>";
    2332
    2433                var latlng = new google.maps.LatLng(centerLatitude, centerLongitude);
  • geoflickr/trunk/readme.txt

    r1504576 r1634791  
    6666== Changelog ==
    6767
     68= 1.01 (20170410) =
     69* Fixed map not loading when _content is empty
     70
    6871= 1.0 (20160917) =
    6972* Fixed old variables calls with up-to-date ones that support HTTPS
Note: See TracChangeset for help on using the changeset viewer.