question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding Image map types

See original GitHub issue

Hi

I want to use custom tiles on google maps like this example: https://developers.google.com/maps/documentation/javascript/examples/maptype-image

I tried making a new directive like below: <sebm-google-map> <sebm-google-image-map-type [options]="mapImageOptions"></sebm-google-image-map-type> </sebm-google-map>

I just wanted to check if this was the correct approach where all the options and contained in the component or should it be more verbose having an attribute for each property?

Or since this is not really a visual component should it just be a service that is passed into the component. (so configured via code only no html elements)

Is there any advise on which approach is perfected?

Thanks Carl

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:35 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
er-shreycommented, Jul 10, 2018

is this feature is updated in agm-maps?

1reaction
sebholsteincommented, Jun 16, 2016

@carl09 sorry for the late answer…so much todo currently. To be consistent with the other elements, we should use separate attributes you can bind to, so no single [options]. Are you OK with that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image Map Types | Maps JavaScript API
Stay organized with collections Save and categorize content based on your preferences. This example uses image tiles of the moon's surface to create...
Read more >
HTML Image Maps - W3Schools
Image Maps. The HTML <map> tag defines an image map. An image map is an image with clickable areas. The areas are defined...
Read more >
4 Quick Steps To Make An Image Map In HTML (With Code ...
Image maps are used hyperlink parts of an image to different destination. Add in a jQuery plugin and image maps render beautifully on...
Read more >
HTML tutorial - Image maps - How To Create
Image maps allow you to make certain areas of an image into links. There are two types of image maps; server side and...
Read more >
Image Maps
Image maps come in two flavors, client-side and server-side. The difference between the two is how they get their information. We will look...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found