Skip to content

Commit

Permalink
Use globally configured tileUrl for CQ map
Browse files Browse the repository at this point in the history
  • Loading branch information
phl0 committed Oct 12, 2022
1 parent 0f3d88f commit df4dcf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/views/interface_assets/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function load_was_map() {

<?php if ($this->uri->segment(1) == "awards" && ($this->uri->segment(2) == "cq") ) { ?>
<script src="<?php echo base_url(); ?>assets/js/Polyline.encoded.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/sections/cqmap.js"></script>
<script id="cqmapjs" type="text/javascript" src="<?php echo base_url(); ?>assets/js/sections/cqmap.js" tileUrl="<?php echo $this->optionslib->get_option('option_map_tile_server');?>"></script>
<?php } ?>

<?php if ($this->uri->segment(1) == "statistics") { ?>
Expand Down
6 changes: 4 additions & 2 deletions assets/js/sections/cqmap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df4dcf9

Please sign in to comment.