haoliangyu/ngx-leaflet-starter

Error loading resource: map.service.ts / Error 404

merody66 opened this issue · 2 comments

Hi, can you help me out with this?

I am referencing your project to get started with angular 2 and leaflet, but when I try to run it (w/o using webpack) using npm start, the typescript compiler doesn't compile my map.service.ts into its equivalent js file, causing it to throw an error 404. But i don't understand why.

Here's a pic of it ->
image

I am pretty sure the tile layers portion are perfectly fine and i've added the source reference for leaflet.d.ts.

Here's the error showing on the browser side ->
image

Thanks a lot

There is no localhost:3000 in my project. Do you have any idea where it came?

Close because of no response