Closed AlexEscalante closed 7 years ago
I got it working by importing the specific file:
import Datamap from 'datamaps/dist/datamaps.mex';
And then using the scope mex
with it…
Thanks!
I've been looking everywhere, any tips on how to make it work on Angular? :(
I am trying to get a map from Mexico using the data file in this repository, like this:
I am not sure if I need to use any other option, because I can get nice USA or world maps when not using
dataUrl
. It's just when I use the Mexico data file that I get no errors and no output on the div.