Skip to content

Commit

Permalink
Merge pull request #400 from hypsug0/fix_issue_397
Browse files Browse the repository at this point in the history
fix custom pointer
  • Loading branch information
lpofredc committed Mar 27, 2024
2 parents 88e5a3d + 292161a commit 975ee1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/programs/base/detail/detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MainConfig } from '../../../../conf/main.config';
declare let $: any;

export const markerIcon = L.icon({
iconUrl: 'assets/pointer-blue2.png',
iconUrl: MainConfig['OBS_POINTER'],
iconAnchor: [16, 42],
});

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/programs/sites/detail/detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class SiteDetailComponent
date: e.date,
author: e.author,
id: e.id_visit,
json_data: e.json_data
json_data: e.json_data,
};
this.loadJsonSchema().subscribe((jsonschema: any) => {
const schema = jsonschema.schema.properties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const PROGRAM_AREA_STYLE = {
// TODO: migrate to conf
export const taxonListThreshold = 10;
export const siteFormMarkerIcon = L.icon({
iconUrl: 'assets/pointer-blue2.png', // TODO: Asset path should be normalized, conf ?
iconUrl: MainConfig['NEW_OBS_POINTER'],
iconAnchor: [16, 42],
});
export const myMarkerTitle =
Expand Down

0 comments on commit 975ee1b

Please sign in to comment.