fixel99 / tesla

my school tesla project
https://fixel99.github.io/tesla/
0 stars 0 forks source link

Google map embed #12

Closed fixel99 closed 7 years ago

fixel99 commented 7 years ago

@russmaxdesign I have done some work on making the Google Map look nice and display nicely in the centre of the parent div. The only addition is that I would like some interactions with the buttons (As you can see i've colour coded them for the pins). However, the problem is the method I am using to get 2 pins (Google My Maps - something i've never even heard of) doesn't have any API documentation.

So my options are to ditch the button interaction or to do something tricky and implement the normal maps with some (What looks like) confusing javascript scripts (However I am not sure if this is worth doing as it will probably not even be marked).

fixel99 commented 7 years ago

Found an easier solution. I am going to make the buttons go to a certain long and latitude on the map (The locations where the pins are for each store)

russmaxdesign commented 7 years ago

@fixel99 I just had a look at the maps and it looks fine - much better than when I saw it on this branch a couple of weeks ago. What was the issue you wanted to resolve?

(As a side note, you will not be able to merge this branch till conflicts are resolved. I can talk you through this when/if you want).