Skip to content

Commit

Permalink
Merge pull request #11 from phl0/tileUrl
Browse files Browse the repository at this point in the history
Use globally configured tileUrl for CQ map
  • Loading branch information
AndreasK79 authored Oct 12, 2022
2 parents 0f3d88f + df4dcf9 commit 21b2725
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 21b2725

Please sign in to comment.