Coder Social home page Coder Social logo

jetherton / enhancedmap Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 10.0 1002 KB

Enhanced Map is a plugin for the Ushahidi platform that adds a map on the admin interface and adds a larger, more feature rich map, on the front end. This plugin was formerly called "Admin Map"

PHP 75.30% CSS 10.84% JavaScript 13.86%

enhancedmap's People

Contributors

brianherbert avatar dylan-gillespie avatar jetherton avatar rjmackay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

enhancedmap's Issues

Feature Request: "Pre-Filter" embedded map

This may already exist, but I cant tell by the current documentation in the code...

I would like to be able to pass in a parameter through the I frame map URL to "pre-filter" by certain categories.

Use case: I have a sub category - Source: INSEC. I'd like to be able to embed something like the following on the INSEC website:

iframe src="https://www.nepalmonitor.org/hpiframemap&category_filter=INSEC" width="515px" height="430px"></iframe>

This would then show an embedded map with only INSEC reports.

Print feature includes menus in printed map

Printing a map using the "print map" feature will print a map that includes all of the menu items on the page. The same occurs when going to one of the generated URL's. This seems to be a feature regression from previous versions, where a nice clean map excluding the rest of the web page was produced.

Does it work?

Dear John,

Tried the enhanced map (high-performance version) with a v2.7.1 deployment. Installed okay, added 'Big Map' to the main menu, but did not actually produce the map or show the embeddable iframe link.

Thanks

Install Error on Ushahidi 2.7b

Just uploaded the plugin to a new 2.7b deployment, and activated. Ushahidi bricked with the following error:

application/libraries/drivers/Database/Mysql.php [316]:
Table "enhancedmap_settings" cannot be found in the database.
Please make sure you are using the latest version of the database for this version of Ushahidi

Has this plugin been tested with 2.7b yet?

I was installing as the pre-req for simplegroups. (Which says it needs admin map). Is this still required? Thanks!

No info in “Highest takes precedence.” mode

When you activate the option “Highest takes precedence.” No information is displayed in the category filter on the bigmap, that I have in my own installation and a crowmap instance, is this a error?

Embedded Map add-on doesn't work with all browsers?

Embedded Map option - is it buggy or do I need to alert people to change settings on their browser of choice?
Hi, it appears that the add-on ( iframe src="https://vulturesresightings.crowdmap.com/iframemap" width="515px" height="430px" (I've left out the s in case it confuses this wiki editor)) which I've added to my blog - tatejoris.org (it's a blogger blog - as a test of this cool embedded map feature) is not always visible to people with different browsers - it works fine when viewed with Chrome (on OSX and M$FT platforms), but so far not with Safari or Firefox (I haven't tried M$FT Exploder). It doesn't work on the blogger app for Ipad.
Should I be warning prospective viewers on my blog that some browsers may not work, or they need to switch things in their settings?
Any advice would be useful! Thanks!

"And" logical operand does not load data

In Ushahidi 2.5 (and in 2.4 under "enhanced map)

Dots do not appear on the map and the time line does not update after clicking on the "and" operand. This repeats across "Big Map," "Admin Map" and "print map" screens.

If unable to reproduce locally please observe on my deployment: www.nepalmonitor.org

(Ushahidi 2.5 was installed in a fresh directory and pointed to an upgraded version of the database).

Print feature doesn't print category colors in "map key"

When actually printing a map using the "print map feature," the maps print without the category colors in the "map key." To reproduce easily, go to the "print map" page using Firefox, and select "print preview." from the drop down menu.

This is a long standing issue in both chrome and firefox, using a wide range of printers and "print to file" functions, tested in Ubuntu 11.10 - 12.04.

It is not an issue with the "create url" function, and one can take a screenshot as a workaround (but this is not ideal).

High performance branch does not load map

On Ushahidi 2.5, the "high performance" branch of this plug in seems to load a blank white map on the main page of the deployment. The "Big Map" page loads a map, but doesn't load any report dots. I believe this is also true for the legacy "Admin Map." Plug in, so this might be a related issue.

I installed by copying the contents of the zip file into the plugins/adminmap/ folder. I have disabled the plug-in in my deployment "NepalMonitor.org"

Adjustable Layout for narrow spaces

Is it possible to create an option to NOT include boolean searches and categories on the embedded maps that have to fit into tight/narrow places? Here's an example where these features just work: http://costofchicken.com/
Optimally, either the layout adjust itself depending on width (i.e. place the boolean operators and categories below the map), or there's an option to turn them off all together. This would make this plugin more flexible for embedding in WordPress layouts.
Thank you!

Breaks Deployment: Database Error.

After installing and going to the dashboard the following error is thrown.

system/libraries/drivers/Database/Mysql.php [309]:

Table "enhancedmap_settings" cannot be found in the database. Please make sure you are using the latest version of the database for this version of Ushahidi.

One must manually uninstall the plugin from the database to fix.

No High performance version for Ushahidi 2.6.1

After upgrading I found that there I needed to update enhanced map to a newer version to get it working again. When I checking the high performance branch I found that it has not been updated recently. I've checked the version I have and it's not compatible.

Many possible plans for NepalMonitor involve being able to use the enhanced analysis features of Enhanced map to filter thousands of reports to create maps for international organizations, so not being able to use and/or operators is a large obstacle.

Is there a plan to make enhanced map utilize what seems to be a far better main map display in 2.6.1?

Edit: perhaps I should be more specific. Everything seems to be working great now, except the AND operand. That doesn't seem to load, or at least takes longer than users will be willing to wait. Maybe that is an issue unrelated to whether there is a high performance version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.