1

I want to create Highcharts maps using Angularjs, how can I do this? Any directive/library?

thanks

1
  • Hey have you found a way? please share i'm also trying to do this. Commented Oct 18, 2016 at 12:25

1 Answer 1

1

I didn't found one but you can easily create a directive by your own. Just create a directiv which is configured like this:

.directive('highmap',function($timeout){
    return{
        scope:{ },
        restrict: 'EAC',
        replace: true,
        transclude: true,
        template: '<div ng-transclude></div>',
        controller: function($scope, $compile, $attrs, $element){
        }
    }
})

Inside the controller you can handle all the map config stuff. Don't forget to set the render target to the id of your div.

That's kind of how I am doing it, sadly I am not allowed to share it.

Sign up to request clarification or add additional context in comments.

1 Comment

are you still not allowed to share? :( how will the HTML code look like ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.