Author: Carlos Moreira

  • Date and Time Picker Field has a new home

    Date and Time Picker Field has a new home

    What started as a project done in an afternoon to solve a problem on a project, grew into a full featured plugin that continues to be helpful to thousands of users.

    After 2 years of maintaining the plugin, it now has a new home with the inputwp team.

    We are sure the plugin is in good hands and we hope it continues to grow.

  • Building maps with COVID-19 data in WordPress

    Building maps with COVID-19 data in WordPress

    Recently a lot of users have started using Interactive Geo Maps plugin to create interactive maps with data from the new coronavirus (covid-19).

    Here are some screenshots of maps created using the plugin:

    US map divided by states with COVID-19 data
    US Map
    Australia Map
    World map with clusters of covid-19 confirmed cases
    World Map

    Portugal Map

    These images have data updated on March 25th 2020. You can click the images to open the interactive version of each map.

    Sometimes it might be tricky to get the data you need correctly formatted, unless you plan to add the data manually. So in each article there are some tips on how to get the data, sometimes automatically, to populate your maps. Since the plugin allows you to write custom javascript to manipulate the data used by the map, we can use this to fetch external content and format it to be compatible with the map. There’s some reliable data sources out there, which are made available for research and educational purposes, so if your project fits, you can use those data sources.

    The data repository by Johns Hopkins CSSE is one of those examples. They have been doing amazing work collecting the data and making it available in this public repository. They provide data for all the world and some more detailed data for specific countries like the US, which allows us to create a US specific map. They mention they might also do this at county level, which would allow us to even create maps for individual states with county information.

    The example maps linked above, contain some javascript code to exemplify how you can get that data. Remember to credit the source and help if possible.

    The maps are able to have markers with different sizes and colours, heatmaps created automatically based on available data, click actions and custom tooltip content, automatically populated with the available data.

    The plugin also has a free version, but it’s limited in what you can do. It’s not possible to have markers with different sizes, read from external data or colour regions in different colours, but you can create a simple map with the information about the affected areas for any country.

    Feel free to contact me if you plan to make a similar map and have any particular question.

    Interactive Geo Maps

    Try it for 7 Days

  • Interactive Geo Maps Pro Available

    Interactive Geo Maps Pro Available

    A few months ago I launched a new free plugin for WordPress, Interactive Geo Maps. This month I launched a Pro version, with more advanced features that will cater the needs of the more experienced and demanding users.



    The Pro version will include the same maps offered in the free version. What changes is what you can do with those maps.

    While the free version only allows you to colour regions with the same colour and add round coloured markers, the Pro version will have more advanced features, starting with the fact that you can colour each region and marker individually. You can also add vector icons and custom images to the map and setup multiple click actions, like open a content in a lightbox or display custom content next or below the map.

    Another interesting feature is the fact you can add text labels, which is particularly helpful for countries where some regions might be too small to be easily clickable. The US maps are an example.


    The plugin includes more than 200 maps, including several versions of the world map divided by countries and continents, single country maps and US county maps. Not all countries in the world are available yet, but there’s just a few missing and with the Pro version you can use custom geoJSON files. You can already create maps for United States of America, India, China, Brazil, Russia, Mexico, Japan, Germany, France, United Kingdom, Italy, South Africa, Spain, Poland, Canada, Australia and many others! See the full list of available maps.

    A lot of cool things can be done with the Pro version. One particular feature I like is the option to connect markers with lines. It can give you an edge on your maps. It works both for travel maps and business maps. You can setup travel routes or visually represent relations between different places in the world on your map.

    Map with lines connecting markers
    Map with lines connecting markers

    A popular request that not many plugins offer is the option to have different the regions of a certain country in the world map. In the screenshot you see the world map with the US divided by states, where you can add individual interactivity to each US state but also the other countries. In the Pro version you can do this with the maps overlay option.

    US states map in a world map
    US map divided by states in the world map

    What about having a map represented in a globe, like the real planet earth? The plugin uses the amcharts library to create the maps, which allow us to create some interesting and unique things. Getting a more realistic representation of the world will certainly be appealing to your visitors. You don’t see that very often.

    Interactive Globe Map
    Globe projection

    Another unique feature included in the Pro version of the plugin, is the ability to create drill down maps, where you can start with the world map and click a country to see more details. The map can automatically zoom there and display a new map of that country divided by regions. The process is not fully automatic, but it’s documented on the official website.

    US state map in world map. Drill down map example.
    Drill down maps

    Although the free version already does a lot and it will be enough for the vast majority of users, the features included in the Pro version will help you take your maps to another level with more options to control the styles and functionality of the map.


    Table of features

    FREE
    –
    PRO
    $29,99/year
    Included Maps250+ Maps Included 250+ Maps Included
    SupportBasic Support
    Slower to answer
    Priority Support
    Answers usually in less than 24h.
    Colour RegionsLimited ⚠
    1 Colour for all regions
    No Limits ✔
    Round Coloured MarkersLimited ⚠
    1 Colour for all markers
    No Limits ✔
    HTML Tooltips✔✔
    Map Projections4 Included ⚠10+
    Specify Regions to Display✔✔
    ZoomLimited ⚠Advanced ✔
    Change initial zoom and center✗✔
    Custom Image Markers✗✔
    Display content outside map✗✔
    Group RegionsPartially Supported ⚠Fully Supported ✔
    Heatmap✗✔
    Connecting Lines✗✔
    Open content in Lightbox✗✔
    Overlay Maps✗✔
    Populate Map Automatically✗✔
    Projection Offset✗✔
    Text Labels✗✔
    Vector Icon Markers✗✔
    Drilldown Maps✗✔
    Get Free Version ↗Free Pro Trial ↗

    Since the launch the plugin has been getting lots of positive feedback and was featured in several websites, like WP Buffs and WPExplorer.


    You’ve read this far? I have a bonus for you!

    If you’re interested in the plugin and read this far, you deserve a reward. You can use the following promotion code to get a 25% discount in any of the available payment plans.

    CMBONUS

    Even better, you can apply this promotional code to the 7 days FREE trial! So if you apply this when registering to the trial period, if you decide to keep the plugin, the discount will be applied.



    Any questions or suggestions?

    If you have any questions about this WordPress plugin feel free to contact me or leave a comment below.

  • Interactive Geo Maps – My new free WordPress plugin

    I recently released in a new plugin in the WordPress plugin repository. It allows you to create interactive maps of the world, continents or any country in the world.

    It was kind of a soft launch, as I’m still polishing out some features, but the plugin is ‘production ready’. I’ll be slowly marketing it to potential users. You can already visit the official website for some demos.

    Screenshot of official webpage for Interactive World Maps
    Official website

    This plugin is a spinoff of my previous Interactive World Maps plugin, which is doing well, but needed a revamp. I decided to develop one from scratch and make a free version available. This new version uses the powerful amcharts library which provides hundreds of maps, all of them available in the plugin.

    Some of the features included:

    • More than 200 maps available, including maps of the USA, US States divided by counties, Continent Maps, several World Maps and all countries in the world;
    • Colour regions/countries, setup a hover colour and click actions, like open a link when the region or country is clicked;
    • Add markers to any location on a map based on coordinates. Setup a hover colour and click actions;
    • Choose different projections (Mercator, Miller, Albers…);
    • Include or exclude specific regions of the selected map.

    I plan to expand the plugin and include custom maps that are not available in the amcharts library. In particular maps of specific popular cities and region maps of my home country Portugal.

    I’ve created a demo page where you can preview all maps currently available, which are more than 200.

    If you had the opportunity to try the map and have some feedback, feel free to leave a comment below!