The answer is going to depend on whose maps you are using and what API
Select an area based on PostCode of UK
How can I select an area based on PostCode of UK like below image ?
@Snapey Thanks. I am trying to use on Google Map. I am not using any API. Thanks.
@afoysal Select an area to do what with? Either way, you’re going to need to know the polygon of each postcode.
@martinbean Thanks. How can i know the polygon ? Thanks.
@afoysal Look for a database of polygon outlines? 🤷♂️
@martinbean Thanks. Actually I don't know how to do this whole project. I need a whole solution. Thanks.
@afoysal Well what are you actually trying to do? Why do you need the outlines of UK postcodes?
@martinbean Thanks. I would like to find an area based on PostCode of UK. That's why I need outlines of UK. Thanks.
@afoysal An area for what?
@martinbean Thanks. An area for select or highlight. Thanks.
@afoysal You just keep repeating the same thing.
Why do you need to select/highlight postcodes? What feature or problem are you trying to solve? You obviously have some reason for wanting a user to select a postcode area.
@martinbean Thanks. I would like to select delivery zone of a Restaurant using PostCode. Thanks.
You can start by looking at the places API.
In the UK, google supports boundary polygons for the 'locality' level.
See https://developers.google.com/maps/documentation/javascript/dds-boundaries/coverage
But as you have admitted, you need someone to build this for you, so I suggest fiver.com, people per hour, etc
@Snapey Thanks. I am looking for something similar to your example. But I would like to find the area using PostCode.
How can I implement your example in Web Page ?
@afoysal Implementing an API like that into a full-blown website is hundreds or thousands of lines of code. You need to do that yourself or pay someone to do it for you. Nobody here is going to make your project for you.
@kokoshneta Thanks. I know all those. But Could you please share similar tutorial from where I can get an idea ?
Please or to participate in this conversation.